Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add mouseUp/mouseDown steps
  • Loading branch information
loyalchow committed Sep 18, 2017
1 parent 33bd0b2 commit 6b38222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -79,6 +79,8 @@ The following step methods are currently available. Methods with selectors have
- `click(selector)`: this will click on the first element matching the provided css selector.
- `snapshot(name)`: this will capture a Screener snapshot.
- `hover(selector)`: this will move the mouse over the first element matching the provided css selector.
- `mouseDown(selector)`: this will press and hold the mouse button over the first element matching the provided css selector.
- `mouseUp(selector)`: this will release the mouse button. `selector` is optional.
- `setValue(selector, value)`: this will set the value of the input field matching the provided css selector.
- `executeScript(code)`: this executes custom JS code against the client browser the test is running in.
- `ignore(selector)`: this ignores all elements matching the provided css selector(s).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -37,7 +37,7 @@
"react": "^15.0.0",
"react-dom": "~15.4.1",
"request": "~2.81.0",
"screener-runner": "^0.6.19",
"screener-runner": "^0.7.0",
"semver": "~5.3.0"
},
"devDependencies": {
Expand Down

0 comments on commit 6b38222

Please sign in to comment.