Is there a way to get the css selector for a page object you defined in SitePrism? For instance if I have
class myPageObject < SitePrism::Page
...
element :my_element, '.my-element-class'
...
end
How could I use the selector in a test to get .my-element-class
?
No - SitePrism doesn't store the parameters passed to element
in any accessible way