-
Notifications
You must be signed in to change notification settings - Fork 30
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
Ruby throwing Page/Frame not ready exception Safari #353
Labels
QA SIGNOFF: passed
This ticket has passed QA
Comments
scottmries
added a commit
that referenced
this issue
Apr 8, 2024
scottmries
added a commit
that referenced
this issue
Apr 9, 2024
scottmries
added a commit
that referenced
this issue
Apr 9, 2024
scottmries
added a commit
that referenced
this issue
Apr 9, 2024
scottmries
added a commit
that referenced
this issue
Apr 9, 2024
scottmries
added a commit
that referenced
this issue
Apr 9, 2024
scottmries
added a commit
that referenced
this issue
Apr 9, 2024
scottmries
added a commit
that referenced
this issue
Apr 23, 2024
QA Notes: The following code occasionally caused Safari to throw a `noSuchWindowException` around 1 in 10 times, and I expect it never to do so now. ``` require "selenium-webdriver" require_relative "../../lib/axe/api/run" require "json" driver = Selenium::WebDriver.for :safari # driver.navigate.to "http://google.com" driver.navigate.to "https://dequeuniversity.com/demo/mars/" res = Axe::Core.new(driver).call Axe::API::Run.new.with_options puts JSON.pretty_generate res.results.to_h driver.quit ``` Note the commented `# driver.navigate to "http://google.com"`. Issue #353 notes that attempting to navigate to `http://google.com` would also occasionally cause an exception "Page/Frame not ready" to be thrown; it should no longer do so. Please uncomment this line, comment `driver.navigate.to "https://dequeuniversity.com/demo/mars/"` and test again. This fix is included here since they are closely related. Closes: #352 Closes: #353
Merged
dequejenn
added a commit
that referenced
this issue
May 8, 2024
Verified with the latest QA-build ( axe-core-gems_4.9.1.pre.396d719) on both Cucumebr and Rspec (which we are supporting now) using seleniium-driver. Not reproducing the issue, its working on safari browsser with out throwing nay error or exceptions. Cucumber-selenium:
Page executing:
Its working as expected. attached recordingvideo1403687178.mp4Rspec-selenium:
Page executing:
Its working as expected. attached recordingvideo3403687178.mp4Environment:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On fast webpages such as google.com I am encountering an intermittent issue when running axe. On slower pages such as https://dequeuniversity.com/demo/mars/ I am not encountering this error.
Example:
Throws:
NoSuchWindowException
- #352The text was updated successfully, but these errors were encountered: