iFrames - Full scoping capabilities not confirmed to be working when defining iFrames in Sections #22
Labels
Bug Fix
Something isn't working
Good for Newcomers
Good for newcomers
Needs Investigation
Further information is required to act on this
From site_prism created by luke-hill: natritmeyer/site_prism#341
Issue to raise for SitePrism framework
Need to re-triage this on a sample page. But it appears as though all SitePrism iFrame locators are queried at a
Capybara.current_session
level. meaning any section scoping will be ignored.Environment
All
Expected Behavior
If 2 iframes with same styling exist on a page at different scoping levels, you should be able to locate the relevant one within your page/section scope.
Actual Behavior
If 2 iframes with same styling exist on a page at different scoping levels, then you may get an ambiguous error or similar issues due to the code not working as intended
The text was updated successfully, but these errors were encountered: