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 8835341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:14:17+00:00 2026-06-14T09:14:17+00:00

I am using Selenium Webdriver, 2.25 I have a local hub set up with

  • 0

I am using Selenium Webdriver, 2.25 I have a local hub set up with this json setting for chrome and firefox:

[
    {
        "browserName": "firefox",
        "maxInstances": 5,
        "seleniumProtocol": "WebDriver"
    },
    {
        "browserName": "chrome",
        "maxInstances": 5,
        "seleniumProtocol": "WebDriver"
    }
],

I can start a webdriver firefox session like this:

capability = getattr(webdriver.DesiredCapabilities, "FIREFOX")
dd=webdriver.Remote('http://localhost:4444/wd/hub', capability)

which works fine
but if I try to start a Chrome session like this:

capability = getattr(webdriver.DesiredCapabilities, "CHROME")
dd=webdriver.Remote('http://localhost:4444/wd/hub', capability)

I get this error:

Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py”, line 62, in init
self.start_session(desired_capabilities, browser_profile)
File “/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py”, line 104, in start_session
‘desiredCapabilities’: desired_capabilities,
File “/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py”, line 155, in execute
self.error_handler.check_response(response)
File “/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py”, line 147, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: None ; Stacktrace: Method innerGet threw an error in None

But I can start a direct connection to Chrome like this:

dd=webdriver.Chrome()

Without any problem.

What can I do to get to Chrome through my Selenium Hub?

  • 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-14T09:14:18+00:00Added an answer on June 14, 2026 at 9:14 am

    You need to setup the chrome driver, info about that here

    UPDATE


    Based on a sample json setup file
    and steps provided in the first link, seems like the browser name should not be in Upper but in fact lower case.

    So change CHROME to chrome

    Example

    WebDriver driver = new RemoteWebDriver("http://localhost:9515", DesiredCapabilities.chrome());
    driver.get("http://www.google.com");
    

    and in your case, I would assume

    dd=webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.chrome())
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Selenium Java 2.0b3 . I have this code: ... WebDriver driver =
I'm using selenium 2, webdriver.Firefox() , it's quite frustrating when you have to search
I have some tests created using Selenium WebDriver. When I run them using IE
I have seen lots of questions and solutions on File upload using Selenium WebDriver
I am trying to set and then read a Cookie using the Selenium Webdriver.
I'm using Selenium 2.20 . Why does WebDriver InternetExplorerDriver throw this warning when launching
I have a C# unit test using Selenium WebDriver to test to see if
I am using selenium webdriver in python to drive Firefox automaticly, the python script
I have chrome installed in my system. I'm using Selenium to run some tests
I'm using selenium webdriver to test our website. We also have a browser plugin/extension

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.