I am trying to scrape results from this link: link. However, at the beginning of my work, I get an error. There is a dropdown menu where I can select provinces. I can't select the dropdown menu at all. I am also sharing my R code with you below.
library(RSelenium)
library(tidyverse)
rsDr <- rsDriver(browser = c("firefox"), port = sample(7600)[1], chromever = NULL)
remDr <- rsDr[['client']]
remDr$open()
remDr$maxWindowSize()
remDr$navigate("https://www.siviltoplum.gov.tr/illere-ve-faaliyet-alanlarina-gore-dernekler")
remDr$findElement(using = "xpath", '/html/body/div[7]')$clickElement()
I marked the place where I got the error in red
I can't select the dropdown menu despite trying many elements that exist in html code. I need support for this.