url
The desired state the requested resource should be in before finishing the command. It supports the following states:
none
: no wait after the page request is made and the response is receivedinteractive
: wait until the page is interactivecomplete
: wait until the DOM tree of the page is fully loadednetworkIdle
: wait until there are no pending network requests
Usage
browser.url()