Skip to main content

This is a robot description base selenium.

Project description

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

### 快速开始

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



运行效果图

![](doc/robot.gif)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium-robot-0.0.4.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page