Ich baue einen Bot daher möchte ich Tor benutzen. Mehr, ich möchte meine IP auf ausgewählte Geoloaction oder Land setzen. Ist das möglich?Wie kann ich die Tor IP auf einen GeoLocation setzen?
Heres mein Tor Initialisierungscode
public static void setUp() throws Exception {
//driver = new HtmlUnitDriver();
//driver = new FirefoxDriver();
String torPath = "/Applications/TorBrowser.app/Contents/MacOS/firefox";
String profilePath = "/Applications/TorBrowser.app/TorBrowser/Data/Browser/profile.default/";
FirefoxProfile profile = new FirefoxProfile(new File(profilePath));
FirefoxBinary binary = new FirefoxBinary(new File(torPath));
driver = new FirefoxDriver(binary, profile);
baseUrl = "https://qa2all.wordpress.com";
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
}
Vielen Dank Sir! –