ropensci / RSelenium

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

Implicit TimeOut in a dynamic page with checkbox #208

Open marcofaga opened 5 years ago

marcofaga commented 5 years ago

I'm trying to scrap data from a dynamic form page.

I'm setting an implicit wait time out that works fine in the first steps of the form. For example, I choose an option in a checklist, the page load some data dynamically and the RSelenium waits the necessary time.

But when I try this with a checkbox option, it didn't work! The RSelenium click on the checkbox but don't wait the necessary time on it.

How can I handle that? I'm using the code:

remDr$setTimeout(type = "implicit", milliseconds = 30000)

I'm also using chrome with VNC in Arch Linux.