- 博客(1)
- 收藏
- 关注
原创 记一次selenium行为链必应搜索失败的解决办法
actions.send_keys_to_element(input_tag,'python') #并输入要搜索的关键字。input_tag=driver.find_element_by_id('sb_form_q')#获取文本框。button=driver.find_element_by_id('search_icon') #搜索按钮。actions.move_to_element(input_tag) #移动到文本框。actions.move_to_element(button) #移动到搜索按钮。
2023-12-05 15:36:40
144
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人