Skip to content

Commit 02602b0

Browse files
committed
fix(test): Wait for driver.get to resolve
1 parent 3356ef5 commit 02602b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/browserstack.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ const testBrowser = async (capabilities) => {
3535
})
3636
.build();
3737

38-
driver.get(url);
39-
38+
await driver.get(url);
4039
await driver.wait(webdriver.until.elementLocated(webdriver.By.id('results')));
4140

4241
const results = await driver.executeScript(function () {

0 commit comments

Comments
 (0)