Skip to content

Add ability to connect to selenium hub from inside a proxy #41

@LeoVie

Description

@LeoVie

Use case

I am using codeception behind a corporate proxy. My selenium grid is outside of the corporate network so I have to use the proxy server to connect to it.
In the suite config yml file you can specify http_proxy and http_proxy_port, but these are the settings that get injected into the browser itself to connect to the test object url. So we can't take use of them for this use case.

Solution

My suggested solution is to add two config keys to the suite config yml: webdriver_proxy and webdriver_proxy_port. These are passed to the facebook RemoteWebDriver which already supports this kind of proxy settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions