Answers for "python auto click on website"

2

auto clicker in python

import pyautogui
import time

def click(): 
    time.sleep(0.5)     
    pyautogui.click()

def main():
    for i in range(10):#you can set how much times you have to click in range(no. of times to click) 
        click()

main()
Posted by: Guest on September-08-2020
1

python autoclick website

def click_me(string):
    driver.find_element_by_xpath("//h3/a[@class='co-product__anchor' and contains(@title, '%s')]//following::button[1]" % (string)).click()
Posted by: Guest on December-06-2020

Code answers related to "python auto click on website"

Python Answers by Framework

Browse Popular Code Answers by Language