Skip to content

Commit

Permalink
fix(webdriverjs): resolve promise (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-siek authored Aug 31, 2021
1 parent 0e4aa3a commit d1548a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webdriverjs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class AxeBuilder {
await driver.get('about:blank');
const res = await axeFinishRun(driver, axeSource, config, partials, option);
await driver.close();
driver.switchTo().window(win);
await driver.switchTo().window(win);
return res;
}
}
Expand Down

0 comments on commit d1548a5

Please sign in to comment.