I'm trying to scrape this site but I can't get any results. My code is:
library(RSelenium)
url <- "https://derbis.dernekler.gov.tr/IstatistikDerneklerWeb/IlFaaliyetAlaniDernekler"
driver <- rsDriver(browser=c("firefox"), port = 4445L)
remote_driver <- driver[["client"]]
remote_driver$navigate(url)
option <- remote_driver$findElement(using = 'xpath',
"//select[@id='cbIl']/option[@value='ADANA']")
option$clickElement()
My aim is to get the table by clicking the button after selecting the inputs I want. I'll write them in a loop and try all kinds of combinations and get the table, but I did not get the part I mentioned. Can you show me an example?
Any help would be much appreciated.