You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Antônio "acdc" Jr edited this page Mar 1, 2017
·
2 revisions
This page should contain instructions about how to use PhantomJS with seleniumQuery.
To set PhantomJS as driver in seleniumQuery:
// will look for phantomjs.exe at the classpath; at // the "phantomjs.binary.path" system property or at the system PATH$.driver().usePhantomJS();
or
// will look for the executable server in the given path. Path can be relative.StringphantomJsPath = "C:\\myFiles\\phantomjs_evenRenamed.exe";
$.driver().usePhantomJS().withPathToPhantomJsExe(phantomJsPath );
Error:
java.lang.NoClassDefFoundError: Could not initialize class org.openqa.selenium.os.Kernel32
and
java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native