Skip to content

using remote webdriver #3

@liamcryan

Description

@liamcryan

I'm trying to use a remote webdriver instead of the chrome webdriver...I made this change in driver_builder.py:

    # driver = Chrome(executable_path=driver_path, chrome_options=chrome_options)
    driver = Remote(
        command_executor='http://127.0.0.1:4444/wd/hub',
        desired_capabilities=chrome_options.to_capabilities())

Once execution gets to the 'command_result = driver.execute("send_command", params)' in the 'enable_download_in_headless_chrome' method I am running into an issue.

Here is some information:
selenium.common.exceptions.WebDriverException: Message: POST /session/a2908a00-707a-4be3-97a1-c79aec8e0e1e/chromium/send_command
Build info: version: '2.49.1', revision: '7203e46', time: '2016-01-21 17:35:35'
System info: host: 'abc-Mac-mini', ip: '000.000.00.000', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '9'
Driver info: driver.version: unknown

I would appreciate any information you have on how to solve the driver.version: unknown problem. This "Issue" may not be directly related to your code, but I thought it was worth asking as you may have some insight.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions