Browse Source

docs: update selenium docs (#20336)

Daniel Zwelling 5 years ago
parent
commit
26d9ef9403
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/tutorial/using-selenium-and-webdriver.md

+ 1 - 1
docs/tutorial/using-selenium-and-webdriver.md

@@ -139,7 +139,7 @@ const options = {
   port: 9515, // "9515" is the port opened by chrome driver.
   desiredCapabilities: {
     browserName: 'chrome',
-    chromeOptions: {
+    'goog:chromeOptions': {
       binary: '/Path-to-Your-App/electron', // Path to your Electron binary.
       args: [/* cli arguments */] // Optional, perhaps 'app=' + /path/to/your/app/
     }