-
0 votesanswersviews
Selenium Switch标签
由于Firefox不再支持Control T,我开始使用driver.execute_script(“window.open('URL','new_window')”) 我试图显示我打开的不同选项卡的 Headers ,并在它们之间切换 . 对于下面的示例,我希望输出为facebook,google和返回facebook . 现在输出是facebook,facebook和facebook . 我从... -
2 votesanswersviews
Selenium click方法正在执行,然后超时
我正在使用selenium webdriver来运行我的自动化测试 . 我的一个测试打开登录页面,输入凭据并单击登录按钮 . 当我在本地运行它时,我可以看到它已成功登录到该站点但是我的测试在click方法上引发了错误,即使我已经看到它移动到下一页 . 我也在使用Chrome驱动程序 . 错误上的文字说: OpenQA.Selenium.WebDriverException:'对远程WebDriv... -
1 votesanswersviews
在Selenium Python中使用Keys.PAGE_DOWN滚动
你好每个人都可以帮助我滚动https://www.grainger.com/category/black-pipe-fittings/pipe-fittings/pipe-tubing-and-fittings/plumbing/ecatalog/N-qu1?searchRedirect=products 我想用这个滚动它 actions = ActionChains(browser) actio... -
-1 votesanswersviews
如何通过Selenium和Python将文本发送到Instagram中的用户名和密码字段
我有一个python程序的错误消息,我得到的是: C:\Users\chanm\AppData\Local\Programs\Python\Python37-32\python.exe C:/Users/chanm/OneDrive/Desktop/bot/Commenter.py Traceback (most recent call last): File "C:...