使用Selenium Python单击框

发布于 2025-02-12 08:27:39 字数 274 浏览 2 评论 0原文

网页检查

我想单击框中,并使用Selenium Python输入

号码那 ?

我想在这里单击注册:

网页检查

Web page inspect

I want to click in the box and enter number with selenium python

how I can do that ?

and I want here to click in sign up:

web page inspect

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

岁月蹉跎了容颜 2025-02-19 08:27:40

尝试这些,确定他们会起作用
要在框中单击并输入一个需要使用驱动程序的数字。find_element_by_xpath('')。sendkeys('然后您在此处输入号码')

以单击注册,您也可以使用driver.find_element_by_xpath('')

Try these and am sure they would work
To click in the box and input a number you need to use driver.find_element_by_xpath('').sendkeys('then you input the number here')

For the clicking of signup you could also use driver.find_element_by_xpath('')

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文