0.2.3 • Published 7 years ago

robotjs-browser v0.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Installation

npm install -g robotjs-browser

Usage:

robotjs-browser options

Options:

-h, --help             output usage information
-V, --version          output the version number
-p, --port [num]       server port - defaults to 7569
-h, --host [hostname]  host name - defaults to 127.0.0.1
-m, --minify           serve minified scripts (.min.js)

Insert

<script id="robotjs-script" type="text/javascript" src="http://127.0.0.1:7569/robotjs-iframe-polyfill.js">

in the head section of your page to include the API.

Example

Open http://localhost:7569 when robotjs-browser is running.

API

window.robotjs

  • pos - node(element, site) : {x,y} - textNode(element, offset) : {x,y}
  • wrapper → http://robotjs.io/docs/syntax
  • fullscreen - enable() : promise - disable() : promise - toggle() : promise - is() : promise
  • started - promise
0.2.3

7 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago