Author: Niklas Baumstark
A standalone version of the Webkit server included in capybara-webkit. It includes a slim Python wrapper and the following improvements over the original version from thoughtbot:
Wait
command to wait for the current page to loadSetAttribute
command to configure certainQWebkit
settingsSetHtml
command to load custom HTML into the browser (e.g. to execute scripts on web pages scraped by a static scraper)submit()
andpath()
methods for DOM nodes to submit forms and get an XPath of the node, respectivelySetViewportSize
command to set the viewport size of the in-memory browser
To install the Python binding (this also builds the server and places it into
Python's site-package
directory):
sudo python setup.py install
If you don't need the Python bindings, you can also use the supplied build.sh
shellscript to build the server only.
If you have any problems with this software, don't hesitate to open an issue on Github or open a pull request or write a mail to niklas baumstark at Gmail.
This software is based on capybara-webkit. capybara-webkit is Copyright (c) 2011 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.