I tried _port = 9150, but it did not work. I tried with and without _version = 5, and it did not work (I am getting my normal ip). ![]() I used integer for _port, _port and because of this question, but tried with character also, without any success. The standalone says it does execute with the options: for example 22:59:10.288 INFO - Executing: ]Īfter user1207289's answer, and after realizing that you could directly create a firefox profile in RSelenium, I tried: eCaps <- makeFirefoxProfile(list( = 1, I tried '-proxy-server=localhost:9050', '-proxy-server= '-proxy-server=socks5://localhost:9050', '-proxy-server=127.0.0.1:9050', and it did not output any error and gave me my initial IP. I thus try to add the proxy option when connecting the remotedriver with firefox: eCaps <- list("moz:firefoxOptions" = list( Ip <- remDr$findElements(using = "css", value ='b')Īnd I do get my IP. I use a standalone selenium java (selenium-server-standalone-2.53.0.jar), which work fine with regular RSelenium: here is an example getting the ip displayed on ipchicken library(RSelenium) Now I am willing to use firefox with RSelenium going through the Tor localhost on port 9050: State Recv-Q Send-Q Local Address:Port Peer Address:Port I had no problem in installing Tor following this tuto, and the command line wget -qO - echo do get me an new IP. I am trying to use RSelenium with firefox using a local proxy (Tor) on a linux machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |