An open API service indexing awesome lists of open source software.

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

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'

```