aivaturi/Selenium-Remote-Driver — Issue #25: How to send a firefox command line option?
Author: enlewof
Created: 2012-01-24 21:36:48+00:00
State: open

I want to specify a height and width for firefox to open with so from the command line it would be like this:

"C:\Program Files\Mozilla Firefox\firefox.exe" -height 1280 width 1020

You have an example of how to pass a command line option for chrome:

'extra_capabilities' => {'chrome.switches' => ["--user-data-dir=$ENV{LOCALAPPDATA}\\Google\\Chrome\\User Data"],},

But how would you do this in firefox?