iFrames - XPath compatibility issue in internal locator creation.
luke-hill opened this issue · 1 comments
luke-hill commented
Issue to raise for SitePrism framework
When creating an iFrame using the SitePrism references. It seems as though we assume any String input is a css styling, and not xpath.
Although...? It seems as though we have a feature that tests this. Needs a bit of in-depth checking.
Environment
All
Expected Behavior
The full locator reference passed as a hashable input to the method is :css, *locators
due to a hardcoded check here: https://github.com/natritmeyer/site_prism/blob/master/lib/site_prism/element_container.rb#L214-L225
Actual Behavior
Not sure what impact this seems to have, but there needs to be a bugfix made.