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

  • Home
  • SEARCH
  • 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 6945749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:28:33+00:00 2026-05-27T13:28:33+00:00

I want to run a selenium tests using python against a server farm that

  • 0

I want to run a selenium tests using python against a server farm that has about 50 web servers. What I have been doing is changing my host file (@ /etc/hosts) to switch to the desired server and run my selenium tests. This manual process can be tedious. Is there a better way to test these individual servers faster?

I’ve looked at using selenium grid to run these in parallel. But can’t find any real life examples using python. The selenium grid demo is vague and the example are mostly in ruby. I don’t really care if I do this in sequence (test server a, then test server b) or in parallel. Although parallel would be nice.

I’ve also looked and nose not sure if this is the right approach either. Of course I could dig deeper.

I’ve also looked at Sauce, from what I understand this is a paid service and don’t want to go down that road.

Any advice or direction would greatly help me.

  • 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-05-27T13:28:34+00:00Added an answer on May 27, 2026 at 1:28 pm

    As per my understanding, you are hitting a farm with same domain name but different IP addresses in it. Thats why changing the web address in selenium is not feasible and you make the modifications in the hosts file.

    If that is so, you can setup a small Fake DNS server, configure your network interface to use it and put the logic of changing IP addresses in it. In this way you won’t have to tinker around with Selenium at all.

    Here is one very primitive code snippet. However this will only resolve addresses for your server while other names won’t be resolved rendering other domains inaccessible.

    If you are comfortable with Metasploit, you can give this DNS proxy a try. This will also resolve other queries but it might be difficult for you to make changes programatically to update your web-server’s resolve address.

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

Sidebar

Related Questions

We want to run selenium backed jwebunit tests from our hudson server. We have
I want to run javascript/Python/Ruby inside my application. I have an application that creates
I'm using TestNG to run Selenium based tests in Java. I have a bunch
Basically, I want to run selenium tests that allow the database to be setup
I want to run a web application on php and mysql, using the CakePHP
So I want to get PHUnit up so I can run selenium server, but
I have a server-code that's written in Python, and I have a client-code that's
I'm using selenium to run some functional tests on the UI for our current
I have created a Selenium test using the Firefox Addon. Now, I want to
I want to run a background task that reads input from a TextReader and

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.