Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bencarter78@hotmail.com's avatar

Problems running selenium server

Hi there

I've created a server on Digital Ocean with forge, installed my repository and then tried to run selenium (java -jar selenium.jar) from the command line but it just hangs here...

11:23:41.633 INFO - Launching a standalone Selenium Server
Setting system property webdriver.chrome.driver to ./chromedriver
11:23:41.687 INFO - Java: Oracle Corporation 24.95-b01
11:23:41.687 INFO - OS: Linux 3.13.0-71-generic amd64
11:23:41.710 INFO - v2.52.0, with Core v2.52.0. Built from revision 4c2593c
11:23:41.806 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped:
registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match the current platform LINUX
11:23:41.807 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped:
registration capabilities Capabilities [{platform=WINDOWS, browserName=MicrosoftEdge, version=}] does not match the current platform LINUX
11:23:41.808 INFO - Driver class not found: com.opera.core.systems.OperaDriver
11:23:41.808 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered
11:23:41.809 INFO - Driver provider org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities [{platform=MAC, browserName=safari, version=}] does not match the current platform LINUX

Has anyone got Selenium server up and running through a forge built server? Any ideas on what might be causing the hanging?

Thanks

0 likes
4 replies
willvincent's avatar

Looks like you're attempting to run selenium on your digital ocean server. That's not going to work, at least not without some config changes to selenium to use the phantomJS webdriver (a headless webkit browser).

You can see several clues there about issues: It's skipping windows and mac specific config, and attempting to use the chrome driver on linux since the current engironment is linux. So -- either install phantom and update your selenium config to use that, or run selenium locally against the remote server.

mudasir's avatar

It seems related to setting up browser driver. Give a try to this package which will eliminate downloading driver and selenium standalone server.

Please or to participate in this conversation.