aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/selenium.test.ts
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-06-17 17:06:41 -0400
committerAjay <[email protected]>2022-06-17 17:06:41 -0400
commit91311787df63c63a526bcdf9d4169c2e7debee65 (patch)
tree1c8cd4c8d29fe6fe84176ec624d08b114fc5719f /test/selenium.test.ts
parent74e9a98afd0d83be1bd01017335a647bc0d03412 (diff)
downloadSponsorBlock-91311787df63c63a526bcdf9d4169c2e7debee65.tar.gz
SponsorBlock-91311787df63c63a526bcdf9d4169c2e7debee65.zip
Run headlessauto-selenium
Diffstat (limited to 'test/selenium.test.ts')
-rw-r--r--test/selenium.test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/selenium.test.ts b/test/selenium.test.ts
index 0e334f62..025b777e 100644
--- a/test/selenium.test.ts
+++ b/test/selenium.test.ts
@@ -37,6 +37,7 @@ async function setup(): Promise<WebDriver> {
options.addArguments("--load-extension=" + Path.join(__dirname, "../dist/"));
options.addArguments("--mute-audio");
options.addArguments("--disable-features=PreloadMediaEngagementData, MediaEngagementBypassAutoplayPolicies");
+ options.addArguments("--headless=chrome");
const driver = await new Builder().forBrowser("chrome").setChromeOptions(options).build();
driver.manage().setTimeouts({