导航

09 2020 档案

摘要:前言 hover 实现功能是将鼠标光标悬停在给定的元素或点上 入参介绍 element def hover(element): """ :param element: The element or point to hover. :type element: str, unicode, :py:cl 阅读全文

posted @ 2020-09-09 21:37 weitungblog 阅读(738) 评论(0) 推荐(1)

摘要:前言 前面说过helium是对Selenium 进行了封装,那么我们如何使用selenium的方法呢,通过下面的介绍,我们能够清楚在helium中能够使用selenium的任何方法 入参介绍 def get_driver(): """ Returns the Selenium WebDriver c 阅读全文

posted @ 2020-09-09 21:09 weitungblog 阅读(884) 评论(0) 推荐(0)

摘要:前言 go_to在当前的Web浏览器窗口中打开指定的URL 入参介绍 url def go_to(url): """ :param url: URL to open. :type url: str Opens the specified URL in the current web browser 阅读全文

posted @ 2020-09-02 22:05 weitungblog 阅读(514) 评论(0) 推荐(0)

摘要:前言 attach_file关键字根据官方介绍的作用是上传文件 入参介绍 def attach_file(file_path, to=None): """ :param file_path: The path of the file to be attached. :param to: The fi 阅读全文

posted @ 2020-09-02 07:07 weitungblog 阅读(853) 评论(0) 推荐(0)