1

I'm trying to use Ruby Watir to open Tor on Mac.

This question Connect to Tor-Firefox via Ruby/Watir addresses this on Windows.

Selenium::WebDriver::Firefox::Binary.path='{location of start_tor_browser*}'
browser = Watir::Browser.new :firefox

In my case, the location would be... Applications/TorBrowser. But Ruby says it is not a file.

How should I do it for Mac?

1

Your path should be /Applications/TorBrowser.app/Contents/MacOS/firefox

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.