I'm trying to scrape some data from table that uses dropdowns. The table is, "GIC options". The "Term" is "Mid-Term" and the "Interest Type" is "Compound".
Looking at the SO answer here, I tried:
library(RSelenium)
remDr <- remoteDriver(port = 4445L)
remDr$navigate("https://www.nbc.ca/personal/savings-investments/gic/non-redeemable.html")
webElem <- remDr$findElement(using = "xpath", '//*[@class="ft2-dropdown-list-element"]/option[@value="Mid-Term"]')
and a css version
webElem <- remDr$findElement(using = "css", "#ft2-filterDropdownBtnID option[value='Mid-Term']")
Both result in Selenium message:Unable to locate element
How can I scrape the data in this table?