Skip to content

Problems with resolving hostname in Python webdriver #2079

@ngsankha

Description

@ngsankha

Currently the Python Webdriver's Remote interface resolves the domain name to an IP and this is causing some issues with our users. Can the Python webdriver behaviour be made consistent with other drivers/browsers/curl, ie: request on a domain name rather than IP address.

The current RemoteConnection implementation already has resolve_ip parameter, that can be toggled to change the behaviour. This option isn't exposed on the Remote Webdriver API. Are there any drawbacks to making the HTTP request by hostname that I am missing?

If this change sounds feasible, I will be giving a PR to do it!

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