Add switchTo().defaultContent();

jh-changes
Shin'ya UEOKA 5 years ago
parent dd123eb254
commit 5fac5ba664
  1. 1
      e2e/command_open.test.ts

@ -59,6 +59,7 @@ describe("open command test", () => {
}); });
beforeEach(async() => { beforeEach(async() => {
await webdriver.switchTo().defaultContent();
page = await Page.navigateTo(webdriver, `http://127.0.0.1:${port}`); page = await Page.navigateTo(webdriver, `http://127.0.0.1:${port}`);
}) })