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

Enhance browser.ready #3900

Closed
sjelin opened this issue Dec 30, 2016 · 0 comments · Fixed by Jakub41/Flights-Scraper-CPH-Kastrup#46
Closed

Enhance browser.ready #3900

sjelin opened this issue Dec 30, 2016 · 0 comments · Fixed by Jakub41/Flights-Scraper-CPH-Kastrup#46

Comments

@sjelin
Copy link
Contributor

sjelin commented Dec 30, 2016

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
sjelin added a commit to sjelin/protractor that referenced this issue Jan 26, 2017
sjelin added a commit to sjelin/protractor that referenced this issue Jan 26, 2017
sjelin added a commit to sjelin/protractor that referenced this issue Jan 26, 2017
@sjelin sjelin closed this as completed in 7cb9739 Jan 27, 2017
igniteram pushed a commit to igniteram/protractor that referenced this issue Feb 21, 2017
bodyduardU pushed a commit to bodyduardU/protractor that referenced this issue Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant