0

Im doing a project for my school project and my project is talking about auto google meet but i stuck when login meeting .The meet wants me to Allowing Camera and Mic access in Chrome 64 .how can i do

here is my code:

from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time
from selenium.webdriver.common.by import By
import requests

#your google account
mail_address=''
password=''
mp = ''

options = Options()
options.add_experimental_option('excludeSwitches', ['enable-logging'])



#open google meet
chrome_options = Options()
chrome_options.add_experimental_option("detach", True)
driver = webdriver.Chrome(options=chrome_options)
driver.get('https://accounts.google.com/ServiceLogin?ltmpl=meet&continue=https%3A%2F%2Fmeet.google.com%3Fhs%3D193&')
time.sleep(5)

#deal with account problem and login meeting
Gmail = driver.find_element(By.XPATH, '//*[@id="identifierId"]').send_keys(mail_address)
driver.find_element(By.XPATH, '//*[@id="identifierNext"]/div/button/span').click()
time.sleep(2)
Password = driver.find_element(By.XPATH, '//*[@id="password"]/div[1]/div/div[1]/input').send_keys(password)
driver.find_element(By.XPATH, '//*[@id="passwordNext"]/div/button/span').click()
time.sleep(2)
meetpath = driver.find_element(By.XPATH, '//*[@id="i6"]').send_keys(mp)
driver.find_element(By.XPATH, '//*[@id="yDmH0d"]/c-wiz/div/div[2]/div/div[1]/div[3]/div/div[2]/div[2]/button/span').click()
time.sleep(5)




i tried to load cookies but i failed btw i am a programming noob

0 Answers0