Skip to content

Commit

Permalink
docs(README): fix error in example script (dequelabs#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
straker authored Sep 14, 2023
1 parent 480fb12 commit 971431a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webdriverjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const { Builder } = require('selenium-webdriver');
const chrome = require('selenium-webdriver/chrome');

(async () => {
const driver = Builder()
const driver = new Builder()
.forBrowser('chrome')
.setChromeOptions(new chrome.Options().headless())
.build();
Expand Down

0 comments on commit 971431a

Please sign in to comment.