Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:02:03+00:00 2026-06-13T23:02:03+00:00

Is there such functionality for Selenium, where one can mention the selenium server configuration

  • 0

Is there such functionality for Selenium, where one can mention the selenium server configuration in any properties file, and before starting the server it automatically reads properties from that properties files and executes accordingly i.e. it can execute multiple instances, different browsers on different machines with different ports. I know that we can configure this programmatically or through json or command prompt.

Right now I am manually writing a properties file, reading it progrmmatically and configuring the selenium server programmatically.

I am configuring selenium using these methods,

Properties properties = new Properties();
DesiredCapabilities capability = DesiredCapabilities.firefox();
capability.setBrowserName(properties.get("Browser"));
capability.setVersion(properties.get("Version"));
capability.setPlatform(Platform.valueOf(properties.get("Platform")));
selenium = new DefaultSelenium(properties.get("Host"), Integer.parseInt(properties.get("Port")), properties.get("browser") ,url);
seleniumserver.start();
selenium.start();

What I want is instead of doing all this if there is a feature provided by selenium where it would read the properties file , configure capabilites, host etc. and then it just runs the server on calling seleniumserver.start(); and selenium.start();

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:02:04+00:00Added an answer on June 13, 2026 at 11:02 pm

    As far as I know there’s is no such feature. The best option you have is to write it manually, like you’re doing now.

    In past projects I’ve created a configuration class that read/received the selenium parameters and then served as a singleton for any query about the configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any such functionality provided by google maps API, such that I draw
Is there such a thing? I know that I can hook my function on
Is there native functionality in Vim that allows one to move the cursor to
I remember that there were function that have such functionality. Unfortunately, I don't remember
Any one knows how to get colored folders in Outlook 2010 ? There is
Plugin with pull-request functionality for HG. Is there such plugin?
Is there any tool that provides language recognition functionality? Like if I input a
is there any way of making sure that, one user is logged in only
Is there such a thing as a Memory profiler for Iphones apps? I'd like
Is there such a thing? It is the first time I encountered a practical

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.