I try to execute a javascript line which runs in JS console which is this:
window.document.querySelectorAll('.atbk[href*="/url"]')
I try to use it with the following script:
startServer()
remDr <- remoteDriver()
remDr$open()
remDr$navigate(a_url)
re <- remDr$executeScript('return window.document.querySelectorAll('.atbk[href*="/url"]');')
Error: unexpected symbol in "re <- remDr$executeScript('return window.document.querySelectorAll('.atbk"
Is there any difference in character I should use?