Skip to content

Commit

Permalink
fix: Fix Safari startup failures
Browse files Browse the repository at this point in the history
Without the `allowW3C: true` parameter, safaridriver will reject our client's
request.
  • Loading branch information
joeyparrish committed Feb 3, 2022
1 parent 03918e3 commit 73892e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 73892e9

Please sign in to comment.