🍺 Join Clicknium for quality support, growth opportunities, and a supportive community

BrowserTab.goto

def goto(
self,
url: str,
is_wait_complete: bool = True,
timeout: int = 30
) -> None

Redirect current tab to the specified url.

Parameters:
 url[Required]: str
   Web site url, eg: https://www.bing.com.
 is_wait_complete: bool = True
   is_wait_complete is set to define whether to wait for a browser tab to load completely. Default value is True.
 timeout: int
   Timeout for the operation, the unit is second, and the default value is 30 seconds.

Returns:
 None

Example:


from clicknium import clicknium as cc

# open chrome browser
chrome_tab = cc.chrome.open("https://www.bing.com")

# naviage to another website
chrome_tab.goto("https://google.com")

PreviousactivateNextrefresh

What are your feelings
Updated on 29 August 2023