Is there a way to convert these to a CSS selectors?
1) '//form//div[contains(@class,"myclass")]'
2) '//div[contains(@class,"myclass")]//input[@type="submit"]'
3) './/label[(substring(./@for, ((string-length(./@for) - string-length('_state')) + 1)) = '_state')]'