-
Notifications
You must be signed in to change notification settings - Fork 50
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
FrameID selection broken for framesets? #51
Comments
Hey Strabbit, If you log what the output of I've been using this library a lot lately - so I may be able to help. M |
Meaning I'm passing |
I've edited the original post. It works for |
Hi @strabbit ! I've never used framesets. I think that the problem that you're having is related to how simple-headless-chrome tries to find the correct scope when you pass a frameId: https://github.com/LucianoGanga/simple-headless-chrome/blob/master/lib/actions.js#L306 Do you know of a website with framesets so we can make a test case for the scenario that you need? We can modify simple-headless-chrome to support those cases. Thanks! |
Thanks @LucianoGanga http://strabbit.com/frame-example/frameset.html is a very simple frameset example. It's the one I used to verify the issue. |
Thanks! Cheers! |
If I have a document that contains a frameset:
And that frame file contains a button:
I expect the following code to work:
Instead I receive this error:
What is the the correct value to pass as frameId? Is this a bug or am I just misunderstanding usage?
The text was updated successfully, but these errors were encountered: