question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

selenium-standalone server 2.53.0: HtmlUnitDriver class not found

See original GitHub issue

Hello,

Could anyone point me - how can I run selenium in standalone mode with HtmlUnitDriver? I have tried the following but without success

# java -cp ".;./libs/" -jar selenium-2.53.0.jar -Dwebdriver.chrome.driver=chromedriver
13:09:29.084 INFO - Launching a standalone Selenium Server
13:09:29.338 INFO - Java: Oracle Corporation 25.77-b03
13:09:29.339 INFO - OS: Linux 2.6.32-573.18.1.el6.x86_64 amd64
13:09:29.422 INFO - v2.53.0, with Core v2.53.0. Built from revision 35ae25b
...
13:09:29.657 INFO - Driver class not found: org.openqa.selenium.htmlunit.HtmlUnitDriver
13:09:29.657 INFO - Driver provider org.openqa.selenium.htmlunit.HtmlUnitDriver is not registered
13:09:30.010 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
13:09:30.010 INFO - Selenium Server is up and running

# ls
chromedriver htmlunit-driver-standalone-2.20.jar  libs  selenium-2.53.0.jar

# ls ./libs/
htmlunit-driver-standalone-2.20.jar

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Alexhhacommented, May 20, 2016

Yes, probably. I think it would be useful to add some warning for windows users, imho.

Anyway, thanks for your help.

0reactions
lukeiscommented, May 20, 2016

this is something java specific… on windows it’s “;” but on linux/mac it’s “:”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selenium v2.53.0 - Driver class not found: org.openqa ...
If I'm only running Selenium server for use with PHPUnit, how can I add the html-unit driver into selenium server? I'm asking because...
Read more >
Webdriver Manager: a node module - Medium
It is an awesome solution for setting up a selenium server for ... 13:20:43.949 INFO — Driver class not found: org.openqa.selenium.htmlunit.
Read more >
Selenium Plugin - Jenkins
Update selenium server standalone to version 2.53.0; Add htmlunitdriver dependency; Implement new jenkins security spec ...
Read more >
Complete setup of Selenium Grid 2.0 with Hub and Node setup
This article will guide you for Selenium grid in selenium webdriver and how we can run Selenium test for Cross browser testing and...
Read more >
Unable to run selenium standalone server - Intellipaat
Could not find the main class: org.openqa.grid.selenium.GridLauncher. Program will exit. C:\automation\node_modules\selenium-webdriver>.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found