Skip to main content

UNKNOWN

Project description

WebRunner is a pythonic module used for web scrapping and testing.

Here are simple instructions about how to use webrunner.

First of all, import WebBrowser to your namespace and instanciate it.

>>> from webrunner import WebBrowser
>>> wb = WebBrowser()

Now, you can use the method urlopen for open some url on the web

>>> wb.urlopen('www.google.com')

Now, we can ‘see’ the google’s page >>> g_page = wb.current_page

Let’s do a search >>> form = g_page.forms[‘f’] >>> form.set_value(‘some search’, ‘q’) >>> wb.submit_form(form) >>> results_page = wb.current_page

Project details


Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
webrunner-0.1.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None May 9, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page