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

browser.restart() hangs #3676

Closed
mwsessom opened this issue Oct 27, 2016 · 2 comments
Closed

browser.restart() hangs #3676

mwsessom opened this issue Oct 27, 2016 · 2 comments
Assignees
Milestone

Comments

@mwsessom
Copy link

Protractor hangs on browser.restart() and never restarts the browser.

describe('Angular test', function() {
  it('Browser restart test', function() {
    browser.get("https://angularjs.org/");
    browser.restart();
  })
});

Output: Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

Protractor 4.0.10
Chromedriver 2.25
Chrome 54.0.2840.71

@mwsessom
Copy link
Author

Looks like using browser.driver.get instead of browser.get works.

@heathkit
Copy link
Contributor

Most likely, this is also caused by #3651 and related to #3677.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants