https://github.com/joelee2012/webbot
Web automation tool for python based on selenium
https://github.com/joelee2012/webbot
Last synced: about 1 month ago
JSON representation
Web automation tool for python based on selenium
- Host: GitHub
- URL: https://github.com/joelee2012/webbot
- Owner: joelee2012
- License: apache-2.0
- Created: 2021-03-11T02:03:54.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-11T05:59:40.000Z (about 4 years ago)
- Last Synced: 2025-02-14T13:50:52.373Z (3 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Command line tool for performing Technical Verification Testing
Supported [selectors](https://selenium-python.readthedocs.io/locating-elements.html) are :
```
xpath
css
id
name
link_text
tag_name
class_name
css_selector
partial_link_text
```## click
click the element
```yaml
---
click: '' # implicit selector is 'xpath'
click: # implicit selector is 'xpath'
- ''
- ''
click:
selector: 'xpath' # optional
value: ''click:
- selector: 'id' # explict set selector
value: ''
- value: ''
- ''
```## input
input text for element
```yaml
---
input:
selector: 'xpath' # optional, default selector is 'xpath'
value: ''
text: 'text to be input'input:
- selector: 'xpath' # optional
value: ''
text: 'text to be input'
- selector: 'xpath' # optional
value: ''
text: 'text to be input'
```## switch_window
switch window
```yaml
---
switch_window: 1
switch_window: '1'
switch_window:
- 1
- '1'
switch_window:
index: 1
switch_window:
index: '1'
switch_window:
- index: 1
- index: '1'```