Skip to content

Commit

Permalink
Merge pull request #61 from thejoelpatrol/master
Browse files Browse the repository at this point in the history
add example of how to send keystrokes
  • Loading branch information
robocoder authored Jun 28, 2017
2 parents ef8356c + 02b8087 commit 94de701
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ The function's return value is exactly what is returned from the server as part
// GET /session/:sessionId/window/:windowHandle/size
$session->window()->size();

* Send keystrokes to an element with 'POST'

// POST /session/:sessionId/element/:id/value
// getValue() is deprecated; use postValue($json) or value($json)
$element->postValue(array("value" => str_split('some text to send to element')));

## Some unavoidable exceptions to direct protocol translation.

* Opening pages
Expand Down

0 comments on commit 94de701

Please sign in to comment.