0

I'm trying to web scrape a website that has dropdown buttons and other options. This means I cannot just scrape the webpage as is using rvest. I'm trying the RSelenium package but I'm not sure which port I'm supposed to use in the rsDriver() function.

This is the tutorial I'm working through:

http://joshuamccrain.com/tutorials/web_scraping_R_selenium.html

Here is where my question comes into play:

rD <- rsDriver(browser="firefox", port=4545L, verbose=F)

When I tried this line as is, I got the following error:

Error in wdman::selenium(port = port, verbose = verbose, version = version,  : 
  Selenium server signals port = 4545 is already in use.

0 Answers0