๐Ÿบ Join Clicknium for quality support, growth opportunities, and a supportive community

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