GoogleChromeLabs / chromium-bidi

Implementation of WebDriver BiDi for Chromium
https://googlechromelabs.github.io/chromium-bidi/
Apache License 2.0
87 stars 30 forks source link

`navigation` value should always be present, even for wait=none #1332

Open sadym-chromium opened 12 months ago

sadym-chromium commented 12 months ago

BrowsingContext.navigate and BrowsingContext.reload should have navigation value even in case of wait: none.

In BiDi, the `await a navigation step generates a new navigation UUID for each navigation disregard of the wait condition. Even in case of same document fragment navigation.

In CDP:

Currently, the navigation is not provided in case of reloading with wait none or same-document navigation.

WPT tests: https://wpt.fyi/results/webdriver/tests/bidi/browsing_context/navigate/hash.py?label=master&label=experimental&aligned

thiagowfx commented 11 months ago

Upstream: https://github.com/w3c/webdriver-bidi/issues/532