From c4acbe511f563e0e34a1fa5976075d2b5ba93288 Mon Sep 17 00:00:00 2001 From: Rod McNew Date: Thu, 28 Jun 2018 15:22:28 -0500 Subject: [PATCH] Fix windowSize option in Firefox in Javascript (#6075) --- javascript/node/selenium-webdriver/firefox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/node/selenium-webdriver/firefox.js b/javascript/node/selenium-webdriver/firefox.js index 9667ba0c48916..d2ae6f5298b0d 100644 --- a/javascript/node/selenium-webdriver/firefox.js +++ b/javascript/node/selenium-webdriver/firefox.js @@ -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}`); } /**