aboutsummaryrefslogtreecommitdiff
path: root/e2e
diff options
context:
space:
mode:
authorShin'ya UEOKA <ueokande@i-beam.org>2019-09-24 03:49:39 +0000
committerShin'ya UEOKA <ueokande@i-beam.org>2019-09-24 03:49:39 +0000
commit5fac5ba664acc06c99ed7ea7ed420695e5966e65 (patch)
tree0811928d9da445c4171f7c2c9c9323cde2cddc73 /e2e
parentdd123eb254e6a4e43d8b21517e97469cf391e70d (diff)
Add switchTo().defaultContent();
Diffstat (limited to 'e2e')
-rw-r--r--e2e/command_open.test.ts1
1 files changed, 1 insertions, 0 deletions
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}`);
})