Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python selenium check if browser is open

def isBrowserAlive(driver):
   try:
      driver.current_url
      # or driver.title
      return True
   except:
      return False
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #selenium #check #browser #open
ADD COMMENT
Topic
Name
8+1 =