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

Conversation

@cnishina
Copy link
Contributor

@cnishina cnishina commented Nov 8, 2018

No description provided.

@cnishina cnishina requested a review from heathkit November 9, 2018 08:29
toMatch('index.html#/form');
it('should be able to navigate to same url on fork', async() => {
await browser.get('index.html');
newBrowser = await browser.forkNewDriverInstance(true).ready;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently, this comes from:

browser_.ready =

I think this is so convoluted because it needed to support the control flow case as well. This should be cleaned up - forkNewDriverInstance() should just return a promise that resolves to the new browser instance, after its ready.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this to a queue of issues to clean up for the selenium 4 upgrade milestone

@cnishina cnishina merged commit 7172e48 into angular:selenium4 Nov 9, 2018
cnishina added a commit to cnishina/protractor that referenced this pull request Dec 19, 2018
cnishina added a commit to cnishina/protractor that referenced this pull request Mar 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants