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

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -