angrykoala / wendigo

A proper monster for front-end automated testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Method to wait for new tabs/pages are opened and loaded

angrykoala opened this issue · comments

Provide a method to wait until a new tab is opened and loaded.

Currently, a tab opened by the web can cause race-conditions, this force the use of browser.wait() which makes tests slower and doesn't guarantee solving the race conditions.

Similarly to waitForNavigation, implement a method to waitForNewTab/Page