1
I’m making a bot that enters google Meet at scheduled times, got the part of opening the meetings at the desired times, but I bumped into the problem that the program needs to click the "enter" button is I don’t know how do I do it, my most recent attempt was with Selenium but when I run this error appears on the console: Attributeerror: module 'Selenium.webdriver.Chrome' has no attribute 'find_elements_by_xpath'
if you can suggest a way to make a click that is simpler than Selenium is also valid
import os
from datetime import date
from datetime import datetime
from time import sleep
from selenium import webdriver
hora = 3600
driver = webdriver.chrome
def segunda():
if now.hour == 16:
os.startfile('link da reunião')
sleep(10)
driver.find_elements_by_xpath("/html/body/div[1]/c-wiz/div/div/div[5]/div[3]/div/div/div[2]/div/div[1]/div[2]/div/div[2]/div/div[1]/div[1]/span/span").click()
sleep(hora)
while True:
now = datetime.now()
data = date(now.year, now.month, now.day)
#segunda
if data.isoweekday() == 1:
segunda()
the find element method of the following error: module 'Selenium.webdriver.Chrome' has no attribute 'find_element_by_id'
– Adelson Thalys
His question was "how to click a button" and that’s what I tried to answer. I added more details...
– William Teixeira