On Wed, Dec 5, 2012 at 10:06 AM, Joshua Homer <countjoshing...@gmail.com>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

Reply via email to