Hello Željko, Thank you for your quick response! Unfortunately that didn't open the proper firefox.
profile = Selenium::WebDriver::Firefox::Profile.new profile['webdriver.firefox.bin'] = "T:\Tor Browser\FirefoxPortable\App\Firefox\tbb-firefox.exe" @ff = Watir::Browser.new :firefox, :profile => profile This is what I had, and it opened the regular firefox. Thanks for your help :) On Wednesday, December 5, 2012 4:18:46 AM UTC-7, Željko Filipin wrote: > > On Wed, Dec 5, 2012 at 10:06 AM, Joshua Homer > <countjo...@gmail.com<javascript:> > > wrote: > >> I am building a small site on the tor's hidden service and would like to >> be able to test it, is there a way I can open the Tor Browser (just >> firefox) instead of the regular firefox? > > > Something like this should work: > > profile = Selenium::WebDriver::Firefox::Profile.new > profile['webdriver.firefox.bin'] = "/path/to/file" > browser = Watir::Browser.new :firefox, :profile => profile > > More info: > > http://watirwebdriver.com/firefox/ > http://code.google.com/p/selenium/wiki/FirefoxDriver > > Željko > -- > https://leanpub.com/watirbook > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com