Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElementWithin not looking inside iframe #161

Closed
RobRolls opened this issue Aug 10, 2014 · 2 comments
Closed

ElementWithin not looking inside iframe #161

RobRolls opened this issue Aug 10, 2014 · 2 comments

Comments

@RobRolls
Copy link

when the initial IWebElement is inside the iframe everything works fine. For example.
this works:

url "http://lefthandedgoat.github.io/canopy/testpages/iframe1"
first "#states" |> elementWithin "1" |> read |> is "Alabama" 

but when the initial IWebElement is outside the iframe and the second element I'm looking for is within it the elementWithin fails.
this does not work:

url "http://lefthandedgoat.github.io/canopy/testpages/iframe1"
first "body" |> elementWithin "1" |> read |> is "Alabama" 

Thanks for your help.

@lefthandedgoat
Copy link
Owner

Interesting, I will look into this.

lefthandedgoat added a commit that referenced this issue Aug 10, 2014
@lefthandedgoat
Copy link
Owner

Thanks for the repro steps. I was able to fix this and found an unrelated bug along the way. Thanks! You can download the fix in the latest canopy package:
https://www.nuget.org/packages/canopy/0.9.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants