![]() ![]() I'm using a standalone Selenium library that can be downloaded here and the Tor Browser Bundle that can be downloaded here.īecause Tor Browser Bundle wasn't letting me use the WebDriver extension, I found a workaround in which I ran Tor from a regular Firefox browser. I've found similar questions, but I'm specifically looking for a Java solution, preferably tested on Windows. I don't know how to send commands to a browser opened in such a manner, however. I know that the profile is valid/compatible because I can successfully start the browser and profile with: binary.startProfile(profile, profilePath, "")) This results in a blank Tor Browser page opening with a popup message: Your Firefox profile cannot be loaded. String profilePath = "C:\\Users\\My User\\Desktop\\Tor Browser\\Data\\Browser\\fault" įirefoxProfile profile = new FirefoxProfile(new File(profilePath)) įirefoxBinary binary = new FirefoxBinary(new File(torPath)) įirefoxDriver driver = new FirefoxDriver(binary, profile) ![]() This is what I've tried so far: String torPath = "C:\\Users\\My User\\Desktop\\Tor Browser\\Start Tor Browser.exe" Because Tor Browser Bundle is just a patched version of Firefox, it seems that it should be possible to use a FirefoxDriver with Tor Browser. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |