browser.close

def close(self, is_force: bool = False) -> None

Close the browser.

Parameters:
is_force: bool, force the browser to close.

Returns:
 None

Example:


from clicknium import clicknium as cc

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

# close the browser
chrome_tab.browser.close()

# open ie browser
ie_tab = cc.ie.open("https://www.bing.com")

# close the browser
ie_tab.browser.close(true)
What are your feelings
Updated on 29 August 2023