From 73892e97db05545f877a5c91bdfc21f3f65c72a7 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Wed, 2 Feb 2022 20:07:00 -0800 Subject: [PATCH] fix: Fix Safari startup failures Without the `allowW3C: true` parameter, safaridriver will reject our client's request. --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 6e5429c..bbc316b 100644 --- a/index.js +++ b/index.js @@ -83,6 +83,8 @@ const LocalWebDriverBase = function( this.spec = { browserName: this.browserName.toLowerCase(), platform: PLATFORM_MAP[os.platform()], + // This is necessary for safaridriver: + allowW3C: true, }; this.browser.on('status', (info) => {