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

https://github.com/cundd/scoutomate


https://github.com/cundd/scoutomate

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Scoutomate

Create a map of CSS selectors and values and let Scoutomate fill in the matching fields or click on elements.

## Usage

First define your data:

```javascript
window.ScoutomateData = {
'[name*="firstName"i]': "Daniel", // Fill in the static input
'[name*="lastName"i]': function (element) {
return `Corn (in field '${element.name}')`;
}, // Fill in the return value
'[name*="payment"][value="VISA"]': "Scoutomate.Actions.click", // Select a radio button
"#my-button": "Scoutomate.Actions.click", // Click the element
};
```

then include the library

```html

```