RSelenium
RSelenium copied to clipboard
Cannot navigate to a page
I'm trying access a web service (https://spot.cgsmd.isi.edu/submit.php) using RSelenium with PhantomJS. I don't encounter any issue when using Chrome but with PhantomJS, I cannot navigate to this web page.
I thought it could be because of "https://" so with help from this forum I added the options below. Still not working.
Any help would be greatly appreciated,
Best, -E
Operating System
macOS Sierra 10.12.6
Selenium Server version
Selenium Server version: 3.5.1
Browser version
chrome 60.0.3112.101
Other driver version
PhantomJS 2.1.1
Expected behaviour:
navigate to "https://spot.cgsmd.isi.edu/submit.php"
Actual behaviour:
stays at "about:blank"
Steps to reproduce the behaviour
remDrv <- rsDriver(browser = "phantomjs", port = 4444L,
extraCapabilities = list("--ignore-ssl-errors=true", "--ssl-protocol=tlsv1", "--web-security=no"))
remDrv$client$navigate("https://spot.cgsmd.isi.edu/submit.php")
#### remDrv$client$navigate("https://duckduckgo.com") ## DOES WORK
remDrv$client$getCurrentUrl()
[[1]]
[1] "about:blank"