selenium 中click或者submit提交表单没有效果
selenium吧
全部回复
仅看楼主
level 1
使用python,浏览器是PHANTOMJS
定位元素完全正确(有print一下元素的value或者text来验证),
click方法,submit方法无效,使用 driver.execute_script(js_text)方法执行js代码提交表单无效,
使用selenium的用户行为链ActionChains(driver).move_to_element(search_button).click(search_button).perform() 提交表单无效,
使用search_button.send_keys(Keys.ENTER)无效。
显式等待特定元素100s了都没用
练手网址是http://www.gdltax.gov.cn/gdsite/portal/gdsite/4VVM9ENPZQEGYQR1942BGNEQ06N8P4BC.htm
跪求[泪]大神破解
2017年12月18日 02点12分 1
level 1
已解决 等待时间给个10s上下
2018年01月09日 06点01分 2
1