Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Enhance browser.ready #3900

Closed
Jakub41/Flights-Scraper-CPH-Kastrup
#46
@sjelin

Description

@sjelin

In a world without the WebDriver Control Flow, we're going to need browser.ready to be better:

  • Initialize to driver.getSession(), since that will wait for the browser session to start
  • Update with the result of the getCapabilities() call call in the ProtractorBrowser constructor.
  • Update with the setScriptTimeout() call in runner.createBrowser, instead of overwriting
  • Update with the browser_.driver.getCurrentUrl() call in forkNewDriverInstance, and also return the result of newBrowser.get(url) in the subsequent then block

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions