WebElementLocator - _handleLocateCommand - Element(s) NOT Found

154 views
Skip to first unread message

Richard

unread,
Jan 18, 2016, 10:42:10 AM1/18/16
to phantomjs
I am using PhantomJS with Selenium 2.4.5 and latest Ghostdriver 1.2.1. I keep getting this error despite things working in Firefox. Also, "accept-SSL-certs" does not set to true not matter what use to configure it (pasted below). Any idea what's going on?

DesiredCapabilities capabilities = DesiredCapabilities.phantomjs();
capabilities.setCapability(PhantomJSDriverService.PHANTOMJS_CLI_ARGS,
new String[] {"--web-security=no", "--ignore-ssl-errors=yes"});
this.driver = new PhantomJSDriver(capabilities);
Reply all
Reply to author
Forward
0 new messages