Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python click buttons on websites

from selenium import webdriver
import webbrowser

driver = webdriver.Chrome()
driver.get("example.com")
button = driver.find_element_by_id('idofbutton')
button.click()
Comment

PREVIOUS NEXT
Code Example
Python :: keras model load 
Python :: plot roc curve for neural network keras 
Python :: how to save python list to file 
Python :: pip code for pytube 
Python :: numpy install with pip 
Python :: Python Current time using datetime object 
Python :: python open each file in directory 
Python :: how to remove text in brackets of python 
Python :: random date python 
Python :: verificar se arquivo existe python 
Python :: discord py bot status 
Python :: pandas replace nonetype with empty string 
Python :: python program to shutdown computer when user is not present 
Python :: django add media 
Python :: sklearn plot confusion matrix 
Python :: cv2 draw box 
Python :: python how to get project location 
Python :: how to open an external file in python 
Python :: python count words in file 
Python :: python selenium switch to window 
Python :: werkzeug.datastructures.filestorage to numpy 
Python :: height width image opencv 
Python :: pen down python turtle 
Python :: load custom font pygame 
Python :: df.drop index 
Python :: install pandas in python mac 
Python :: py get mouse coordinates 
Python :: discord.py commands not working 
Python :: extract first letter of column python 
Python :: transpose a matrix using list comprehension 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =