Skip to main content

Module url

Module url 

Source
Expand description

URL utilities for browser automation.

This module provides utilities for working with URLs.

Functionsยง

get_domain
Extract the domain from a URL.
get_url
Get the current URL from the page.
is_about_url
Check if a URL is an about: URL.
is_blob_url
Check if a URL is a blob URL.
is_data_url
Check if a URL is a data URL.
parse_url
Parse and normalize a URL.
same_origin
Check if two URLs are the same origin.
unfocus_address_bar
Unfocus the address bar (useful after browser launch).