要求参加Google Meet Selenium [英] Ask to join in Google meet Selenium

查看:74
本文介绍了要求参加Google Meet Selenium的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个api项目

i am working on a an api project

其中有一部分内容需要用户输入有关Google会议代码的信息,然后将其输入到Google会议中

there is a part in it which takes input from the user about Google meeting code and enter him to the google meeting

真正的问题是当我指示其单击要求加入

the real problem is when i give it instructions to click on the button of Ask to join

我已经尝试过了:

1.        driver.find_element_by_xpath(
            "//button[text()='Ask to join']").click()
2.        driver.find_element_by_xpath(
            '//*[@id="yDmH0d"]/div[3]/div/div[2]/div[3]/div/span/span').click()
3.        i also tried using class name

在我所知的范围内,尽我所能使用的每种方法

我在任何地方都找不到有关此主题的帮助

also i cannot find help on this topic anywhere

最近2天,我一直在努力奋斗,但找不到解决方法

i am banging my head on this piece from last 2 days but cannot find a solution to it

如果有人可以帮助!请告诉我是否还应包括其他内容以供参考

if anyone can help !! please tell if i should include anything else for reference

推荐答案

在XPath下方使用.

Use below XPath.

//div[@role='button']//span[contains(text(), 'Ask to join')]

这篇关于要求参加Google Meet Selenium的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆