selenium.webdriver.common.utils

The Utils methods.

Functions

find_connectable_ip(host[, port])

Resolve a hostname to an IP, preferring IPv4 addresses.

free_port()

Determines a free port using sockets.

is_connectable(port[, host])

Tries to connect to the server at port to see if it is running.

is_url_connectable(port)

Tries to connect to the HTTP server at /status path and specified port to see if it responds successfully.

join_host_port(host, port)

Joins a hostname and port together.

keys_to_typing(value)

Processes the values that will be typed in the element.