A Python driver for Zombie.js
Project description
A Python driver for Zombie.js, a headless browser powered by node.js.
from zombie import Browser b = Browser() b.visit('http://google.com/m').fill('input', 'Zombie.js').pressButton('Search') assert b.location == 'http://www.google.com/m?q=Zombie.js'
Requires the latest node and zombie:
brew install node curl http://npmjs.org/install.sh | sh npm install zombie
Development
Source hosted at GitHub. Report issues and feature requests on GitHub Issues.
Tests require tox and can be run with python setup.py test.
All contributions must:
Include accompanying tests.
Include API documentation if new features or API methods are changed/added.
Be (generally) compliant with PEP8. One exception is that (for consistency, and to demonstrate their analogous nature) API methods on zombie.Browser should follow the camel case formatting set forth in the zombie.js API (e.g., Browser.pressButton, not Browser.press_button).
Not break the tests or build. Before issuing a pull request, ensure that all tests still pass across multiple versions of Python.
Add your name to the (bottom of the) AUTHORS file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file zombie-0.1.0a.tar.gz
.
File metadata
- Download URL: zombie-0.1.0a.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ed0d405a46fd4af0654e89d1844466234d41fa8685c63aac517b9cbb611599 |
|
MD5 | 5d53cfb6a9a61d297189d16b10dc0034 |
|
BLAKE2b-256 | 1efef70a0a6c685996b460c20e44b6cff2e33b027dfcd2ea1d4a2c292f3d7510 |