-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[java][bidi]: add browsingContext event onNavigationCommitted
#15560
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 browsingContext event onNavigationCommitted
#15560
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Hi @pujagani, can you review this? |
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! @navin772
User description
🔗 Related Issues
💥 What does this PR do?
Implements the
onNavigationCommitted
bidi event in browsingContext for the java bindings - https://w3c.github.io/webdriver-bidi/#event-browsingContext-navigationCommitted.Currently, for stable browsers only Chrome supports this as per the WPT tests
This PR also adds a test for
onNavigationCommitted
event for Chrome.I have also changed the other methods from private to public.
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement, Tests
Description
Added
onNavigationCommitted
event support inBrowsingContextInspector
.Changed visibility of several methods from private to public.
Introduced a test for
onNavigationCommitted
event in Chrome.Marked the test as not yet implemented for Edge and Firefox.
Changes walkthrough 📝
BrowsingContextInspector.java
Added `onNavigationCommitted` and updated method visibility
java/src/org/openqa/selenium/bidi/module/BrowsingContextInspector.java
onNavigationCommitted
event listener method.onDownloadWillBegin
,onNavigationAborted
, andonNavigationFailed
methods from private to public.BrowsingContextInspectorTest.java
Added test for `onNavigationCommitted` event
java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java
onNavigationCommitted
event.