[🐛 Bug]: SeleniumServer does not start selenium 4.x jar standalone
See original GitHub issueWhat happened?
Selenium server can not start selenium 4.4.0 as a standalone server
How can we reproduce the issue?
const { SeleniumServer } = require('selenium-webdriver/remote');
test();
async function test() {
const pathToJar3xJar = './.selenium/selenium-server/3.141.59/selenium-server.jar';
const pathToJar4xJar = './.selenium/selenium-server/4.4.0/selenium-server.jar';
const args = {
args: [],
jvmArgs: ['-Dwebdriver.chrome.driver=./.selenium/chromedriver/latest-x64/chromedriver'],
port: undefined,
};
// this works fine
const server3xJar = new SeleniumServer(pathToJar3xJar, args);
/* does not work
the problem that selenium 4.х requires "standalone" right after the jar file what is not happen
when the same args are used
*/
const server4xJar = new SeleniumServer(pathToJar4xJar, args);
}
Relevant log output
Error: Server terminated early with status 0
at /node_modules/selenium-webdriver/remote/index.js:249:24
Operating System
macOS Ventura
Selenium version
4.7.0
What are the browser(s) and version(s) where you see this issue?
What are the browser driver(s) and version(s) where you see this issue?
Are you using Selenium Grid?
No response
Issue Analytics
- State:
- Created 9 months ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
selenium stand alone is not starting - Stack Overflow
selenium-server -standalone-3.8.0.jar is not official. The official website is providing download link of latest version as 3.7.1.
Read more >Getting started with Selenium Grid
Start the Grid. java -jar selenium-server-<version>.jar standalone ... By default, the server will listen for RemoteWebDriver requests on ...
Read more >Selenium Grid Tutorial: Setup and Example of Cross Browser ...
Selenium Grid Tutorial to learn how to run multiple tests simultaneously. Selenium grid setup with example and Cross browser testing to run ...
Read more >Selenium grid 4 Standalone & Hub and Node concept with ...
Selenium #SeleniumGrid Manual Testing interview preparation: https://youtube.com/playlist?list=PLAkEcrdilZ4mWQsyqI5gpZQ3RPtH7PwRcPage Object ...
Read more >Selenium 4 Grid Tutorial with examples - YouTube
In this video, I am going to explain new Selenium Grid feature which has ability to run the tests in remote machines on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@harsha509 https://github.com/SeleniumHQ/selenium/pull/11412
Hi @potapovDim ,
Sure, if you’ve fix ready, could you please raise the PR.
I have time today will take a look!