-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java][bidi]: add test for onNavigationFailed
#16241
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
[java][bidi]: add test for onNavigationFailed
#16241
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
|
Hi @pujagani, could you review this PR? |
pujagani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! LGTM @navin772
User description
🔗 Related Issues
💥 What does this PR do?
Adds test for
onNavigationFailedevent.🔧 Implementation Notes
💡 Additional Considerations
Initially, I added test for
onDownloadWillBeginalso, but it requires some implementation modification and a newDownloadInfoclass, so that will come in a separate PR.🔄 Types of changes
PR Type
Tests
Description
Add test for
onNavigationFailedBiDi eventTest validates navigation failure handling with invalid domain
Include proper exception handling and assertions
Diagram Walkthrough
File Walkthrough
BrowsingContextInspectorTest.java
Add navigation failed event testjava/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java
NotYetImplementedannotationcanListenToNavigationFailedEvent