Skip to content

Commit

Permalink
Fix windowSize option in Firefox in Javascript (#6075)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodmcnew authored and jleyba committed Jun 28, 2018
1 parent ab87a06 commit c4acbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/firefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class Options extends Capabilities {
}
checkArg(width);
checkArg(height);
return this.addArguments(`--window-size=${width},${height}`);
return this.addArguments(`--width=${width}`, `--height=${height}`);
}

/**
Expand Down

0 comments on commit c4acbe5

Please sign in to comment.