selenium - Webdriver/Firefox - how to specify another firefox installation -
i want create instance of firefox, not place looking - "/usr/bin/firefox", "/opt/firefox/firefox" how can here:
firefoxbinary firefox = new firefoxbinary(); firefox.setenvironmentproperty("display", "0"); webdriver driver = new firefoxdriver(firefox, null);
the constructor of firefoxbinary takes file argument!
file ffexe = new file("path/to/exe"); firefoxbinary firefox = new firefoxbinary(ffexe);
Comments
Post a Comment