• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
tyne0921
博客园    首页    新随笔    联系   管理    订阅  订阅
2014年2月11日
find_elements & find_element区分
摘要: 1、最近老是同一犯错误,find_elements写成了find_element,结果纠结了半天才知道是自己写错了个find_elements; WebDriverWait(browser, 5).until(lambda the_driver: browser.find_element_by_link_text("Report").is_displayed()) browser.find_element_by_link_text("Report").click() Uselect=browser.find_element_by_xpath(" 阅读全文
posted @ 2014-02-11 17:04 tyne0921 阅读(9025) 评论(2) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3