How can i validate if I have another browser opened on my python code using selenium. i create a function to call the webdrive
but the browser have not open before called
def OpenDriver():
if not drive:
drive = webdriver.Chrome(ChromeDriverManager().install())
return drive
else:
return drive
pass
def site():
navega().get("https://www.google.com/")
pass