


# Substring inserted to overcome r requirement in FirefoxBinaryīinary = FirefoxBinary(r"%s\\Desktop\\Tor Browser\\Browser\\firefox.exe" % (expanduser("~"))) The error Error in callSuper(.) : object 'binaryExtention' not found is being returned.įor community reference, this Selenium code works in Windows using Python3: from bs4 import BeautifulSoupįrom _profile import FirefoxProfileįrom _binary import FirefoxBinaryįrom os.path import expanduser # Finds user's user name on Windows

RemDr <- remoteDriver(dir = binaryExtention) # devtools::install_github("ropensci/RSelenium")īinaryExtension <- paste0(Sys.getenv('HOME'),"/Desktop/tor-browser_en-US/Browser/firefox") Can anybody get this to work? Perhaps you can share your solution in either Windows / Linux. This is doable with Python, but having trouble with it in R. Looking to use RSelenium and Tor using my Linux machine to return the Tor IP (w/Firefox as Tor Browser).
