Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

selenium close browser

driver.close() #It closes the browser window on which the focus is set.

driver.quit() #It basically calls the driver.dispose method which in turn closes all the browser windows and ends the WebDriver session gracefully.
Comment

PREVIOUS NEXT
Code Example
Python :: import file to colab 
Python :: how to play a mp3 file in python 
Python :: open tiff image pyt 
Python :: how to make a url shortener in python 
Python :: plot value counta 
Python :: plt.xlabel not working 
Python :: Renaming row value in pandas 
Python :: python parse args 
Python :: python - sort dictionary by value 
Python :: python read yaml 
Python :: classification report value extration 
Python :: function as parameter tpye hinting python 
Python :: join two set in python 
Python :: python save figure as pdf 
Python :: print terminal url 
Python :: python implode list 
Python :: ubuntu cant find python installation 
Python :: check if regex matches python 
Python :: python push into array if not exists 
Python :: kmeans sklearn 
Python :: print(DATA.popitem()) 
Python :: python magic windows error 
Python :: watch dogs 3 
Python :: pause program python 
Python :: y=mx+b python 
Python :: install decouple python 
Python :: get most repeated instance in a queryset django 
Python :: check value vowel user input python 
Python :: python test if number in string 
Python :: 2 d array in python with zeroes 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =