From 5fac5ba664acc06c99ed7ea7ed420695e5966e65 Mon Sep 17 00:00:00 2001 From: Shin'ya UEOKA Date: Tue, 24 Sep 2019 03:49:39 +0000 Subject: Add switchTo().defaultContent(); --- e2e/command_open.test.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'e2e') diff --git a/e2e/command_open.test.ts b/e2e/command_open.test.ts index bc4cf96..0a713af 100644 --- a/e2e/command_open.test.ts +++ b/e2e/command_open.test.ts @@ -59,6 +59,7 @@ describe("open command test", () => { }); beforeEach(async() => { + await webdriver.switchTo().defaultContent(); page = await Page.navigateTo(webdriver, `http://127.0.0.1:${port}`); }) -- cgit v1.2.3