0
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.keys import Keys
import datetime
import time
import os
import keyword


class meet_bot:
    def __init__(self):
        self.bot = webdriver.Chrome("chromedriver.exe")
    def login(self,email,pas):
         bot=self.bot
         bot.get("https://accounts.google.com/ServiceLogin/identifier?ltmpl=meet&continue=https%3A%2F%2Fmeet.google.com%3Fhs%3D193&&o_ref=https%3A%2F%2Fwww.google.com%2F&_ga=2.26776703.37544310.1621196502-1890362195.1621196502&flowName=GlifWebSignIn&flowEntry=ServiceLogin")
    obj = meet_bot()
    obj.login("abc","etc")

每当我启动它时,它都会打开 chrome 选项卡一秒钟,然后立即关闭。我尝试下载不同版本的 chrome 驱动程序,但没有任何效果。任何帮助表示赞赏,谢谢。

4

0 回答 0