Closed Bug 1764037 Opened 2 years ago Closed 2 years ago

[wdspec] Use browsingContext.navigate in WebDriver BiDi tests instead of current_session.url

Categories

(Testing :: geckodriver, task, P2)

Default
task
Points:
1

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Whiteboard: [bidi-m3-mvp], [wptsync upstream])

Attachments

(1 file)

Now that browsingContext.navigate has been implemented we should be able to use in BiDi tests instead of WebDriver HTTP current_session.url.

Note that there is also current_session.refresh which we might be able to replace with a same url navigation?

Navigation performed with current_session.url end up calling marionette's navigate which relies on the PageLoadStrategy capability. By default this is set to "Normal" which corresponds to "complete" when translated to a wait condition for BiDi's browsingContext.navigate.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Points: --- → 1
Priority: -- → P2
Whiteboard: [bidi-m3-mvp]
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf6b9b4651e2
[wdspec] Use browsingContext.navigate in WebDriver BiDi tests instead of current_session.url r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/33604 for changes under testing/web-platform/tests
Whiteboard: [bidi-m3-mvp] → [bidi-m3-mvp], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: