New issue
Advanced search Search tips

Issue 1988 link

Starred by 9 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 4



Sign in to add a comment

Refresh does not handle special URLs

Project Member Reported by kereliuk@chromium.org, Sep 8 2017

Issue description

Project Member

Comment 1 by johnchen@chromium.org, Jul 31

Labels: StandardsCompliance Pri-2
Status: Available (was: Unconfirmed)
Owner: ----
Project Member

Comment 3 by johnchen@chromium.org, Dec 4

Status: WontFix (was: Available)
This issue concerns step 4 in the spec for Refresh command:

4. If url is special except for file:
   1. Try to wait for navigation to complete.
   2. Try to run the post-navigation checks.

ChromeDriver already does "wait for navigation to complete" and "run the post-navigation checks" after most commands, including Refresh. Thus ChromeDriver isn't missing step 4, but is actually over implementing it, in the sense that it unnecessarily carries out the sub-steps when the URL is file scheme or not special. Excluding these sub-steps for file scheme and non-special URL would require complex changes to ChromeDriver that appears to be unnecessary.

Notes:

* A URL is defined as special if its scheme is ftp, file, gopher, http, https, ws, or wss. Thus most URLs are special.

* Currently, ChromeDriver passes all WPT tests under /webdriver/tests/refresh.

Sign in to add a comment