Interact with remote pages through an HTTP server.
I had a lot of this, and then I added a ton of new functionality. So I want to start the documentation over, when things have settled down a bit. Feel free to get the process going by submitting a pull requests with some additions to this page, or markdown files in a docs
folder...
GET /session
List sessionsPOST /session
Start a new sessionGET /session/{session}
View session detailsPOST /session/{session}/close
Close a sessionGET /session/{session}/page
List pagesPOST /session/{session}/page
Create a new pageGET /session/{session}/page/{page}
View page detailsPOST /session/{session}/page/{page}/visit
Open new address in the pagePOST /session/{session}/page/{page}/run
Run a script in the pagePOST /session/{session}/page/{page}/resize
Resize the pagePOST /session/{session}/page/{page}/scroll
Scroll the pagePOST /session/{session}/page/{page}/zoom
Zoom the pagePOST /session/{session}/page/{page}/wait
Wait until network traffic stops for the pagePOST /session/{session}/page/{page}/capture
Capture PNG image data for the page
$ git clone git@github.com:undemanding/server.git .
$ npm install
$ node src/server.js