黑盒测试 发表于 2017-3-6 18:27
alert=driver.switch_to_alert()
alert.accept()
掉渣饼 发表于 2017-3-6 21:26
#接受警告信息
alert = driver.switch_to_alert()
alert.accept()
掉渣饼 发表于 2017-3-6 21:36
看你的页面源码感觉还有一种可能是你需要先跳出iframe
在browser.find_element_by_class_name("Logout").c ...
liudinglong1989 发表于 2017-3-7 14:40
这样还是不行,求大神赐教一下啊。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) | Powered by Discuz! X3.2 |