【问题标题】:Please help python web automation selenium请帮助 python web 自动化 selenium
【发布时间】:2021-11-14 02:23:41
【问题描述】:

有没有办法绕过谷歌电话号码验证来创建帐户?我已经写了几行 Python 代码来创建一个 google 帐户...有没有什么方法可以创建一个临时的 Python 电话号码来接收短信之类的消息?

代码

ctr_btn = driver.find_element_by_xpath("//*[@id='view_container']/div/div/div[2]/div/div[2]/div/div[2]/div/div/div[1]/div/button/span")
ctr_btn.click()
time.sleep(0.07)
myself_ctr = driver.find_element_by_xpath("//*[@id='view_container']/div/div/div[2]/div/div[2]/div/div[2]/div/div/div[2]/div/ul/li[1]")
myself_ctr.click()
ftr_name = driver.find_element_by_xpath("//*[@id='firstName']")
ftr_name.send_keys("Anon")
lst_name = driver.find_element_by_xpath("//*[@id='lastName']")
lst_name.send_keys("Anon")
cng_email = driver.find_element_by_xpath("//*[@id='view_container']/div/div/div[2]/div/div[1]/div/form/span/section/div/div/div[2]/div[3]/div/div/button/span")
cng_email.click()
email_txt_box = driver.find_element_by_xpath("//*[@id='username']")
email_txt_box.send_keys(ran)
passwd_one = driver.find_element_by_xpath("//*[@id='passwd']/div[1]/div/div[1]/input")
passwd_one.send_keys(passwd)
passwd_confirm = driver.find_element_by_xpath("//*[@id='confirm-passwd']/div[1]/div/div[1]/input")
passwd_confirm.send_keys(passwd)
next_form = driver.find_element_by_xpath("//*[@id='accountDetailsNext']/div/button/span")
next_form.click()

模块

import os, sys, time
import base64
from selenium import webdriver
from selenium_stealth import stealth
import random
import string

【问题讨论】:

    标签: python selenium selenium-webdriver


    【解决方案1】:

    使用 selenium 绕过电话验证非常困难。 您可以使用 proovl 之类的东西创建一个临时电话号码。 有关更多信息,请观看此视频: https://www.youtube.com/watch?v=EGoLbmQGimc

    【讨论】:

      【解决方案2】:

      没有办法绕过它,除非你在干净的浏览器上创建帐户,它不会要求你提供电话号码。

      【讨论】:

        猜你喜欢
        • 2014-02-22
        • 2022-12-01
        • 2021-07-23
        • 2022-01-07
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多