ropensci / RSelenium

An R client for Selenium Remote WebDriver
https://docs.ropensci.org/RSelenium
343 stars 81 forks source link

Problems with makeFirefoxProfile(); AWS linux #225

Open ajduncanson opened 4 years ago

ajduncanson commented 4 years ago

Problems with makeFirefoxProfile()

On AWS EC2 linux With selenium from docker selenium/standalone-firefox:3.141.59 And geckodriver geckodriver-v0.26.0-linux64.tar.gz

I am unable to use makeFirefoxProfile() on this machine.

Error messages:

sh: : command not found
Error in file(tmpfile, "rb") : cannot open the connection
Calls: makeFirefoxProfile -> file
In addition: Warning message:
In file(tmpfile, "rb") :
  cannot open file '/tmp/RtmpUDdMKw/file72de10932e85.zip': No such file or directory
Execution halted

Tests performed to isolate the problem:

  1. On this same linux machine I can successfully operate a remote firefox webdriver without using makeFirefoxProfile().
  2. On macOS I can successfully use makeFirefoxProfile().

There is something about the combination of the AWS linux machine and that makeFirefoxProfile() function that fails.

ajduncanson commented 4 years ago

If that problem can't be solved, is there an alternative way to set proxies without using makeFirefoxProfile()?