-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Could not launch browser #370
Comments
Hello, I am also having this same issue: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". I have JavaFX installed on my machine. I am running Ubuntu 18.04. |
com.sun.webkit.network.CookieManager is a class in javaFX |
Hello, I am also having this same issue,how to solve it,you know? |
org.openqa.selenium.WebDriverException: Could not launch browser. |
[2020-09-11T02:08:40.825] java.lang.NoClassDefFoundError: com/sun/webkit/network/CookieManager
[2020-09-11T02:08:40.826] at com.machinepublishers.jbrowserdriver.JBrowserDriverServer.main(JBrowserDriverServer.java:74)
[2020-09-11T02:08:40.826] Caused by: java.lang.ClassNotFoundException: com.sun.webkit.network.CookieManager
[2020-09-11T02:08:40.826] at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
[2020-09-11T02:08:40.827] at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
[2020-09-11T02:08:40.827] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
[2020-09-11T02:08:40.827] at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
[2020-09-11T02:08:40.827] ... 1 more
Exception in thread "main" org.openqa.selenium.WebDriverException: Could not launch browser.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: '192-168-xxx-xxx', ip: '192.168.xxx.xxx', os.name: 'Linux', os.arch: 'aarch64', os.version: '4.18.0-193.1.2.el7.aarch64', java.version: '1.8.0_262'
Driver info: driver.version: JBrowserDriver
at com.machinepublishers.jbrowserdriver.Util.handleException(Util.java:140)
at com.machinepublishers.jbrowserdriver.JBrowserDriver.(JBrowserDriver.java:282)
at test.WebFirst.main(WebFirst.java:10)
Caused by: java.lang.IllegalStateException: Could not launch browser.
... 2 more
The text was updated successfully, but these errors were encountered: