Skip to content
基于selenium框架的robot封装,支持快速生成浏览器自动化脚本
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
selenium_robot 替换包名 Aug 2, 2018
.gitignore
LICENSE
README.md
README.rst update configuration file Jul 24, 2018
setup.py 替换包名 Aug 2, 2018

README.md

selenium-robot

基于selenium框架的robot封装,支持快速生成浏览器自动化脚本

快速开始

robot = Robot(
    Open('https://www.zhihu.com/'),
    Click('登录'),
    Input('手机号或邮箱', username),
    Input('密码', password),
    Click('登录', choose_func=lambda elements: elements[-1])
)
robot.setup(browser)

运行效果图

You can’t perform that action at this time.