Handle Calender popup in RSelenium

I am trying to use RSelenium to scrape data from a travel website. I am having a hard time automating the date selection due to the calendar pop-up thing. My code is:

library(svDialogs)
library(RSelenium)
library(dplyr)
library(tidyverse)
library(rvest)
library(string)

remDr = rsDriver(port= sample(100:9999, 1), chromever = "93.0.4577.63")
remDr <- remDr[["client"]]
remDr$navigate("https://www.booking.com/")

remDr$findElement('class','sb-date-field__controls sb-date-field__controls__ie-fix')$setElementAttribute('value',"Mon, Oct 18")

Please guide me on how I can select the value from Calender for Check-in and Check out.

Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.