-
Notifications
You must be signed in to change notification settings - Fork 90
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
Javascript errors triggered by cuprite on pages with iframes #200
Comments
I have found this line: cuprite/lib/capybara/cuprite/page.rb Line 119 in 2bbf363
The extensions are injected every time one switches to a frame. Is that neccessary? Ferrum already seems to inject them once at the page load. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On pages with iframes cuprite triggers a javascript error when switching into a frame.
I have written a test which shows the errors:
This fails with this message:
However this seems only to happen with Chrome >= 102. When i run this test with Chrome 101 or lower it does not fail.
The identifier
InvalidSelector
is defined here: https://github.com/rubycdp/cuprite/blob/2bbf3634d92af4e8b8ec3026c2b66ccf1d0590ad/lib/capybara/cuprite/javascripts/index.js.Looks like these extensions are executed in the same context multiple times with frames?
The text was updated successfully, but these errors were encountered: