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 | RSS feed

This version

0.1

Download files

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

Source Distribution

webrunner-0.1.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file webrunner-0.1.tar.gz.

File metadata

  • Download URL: webrunner-0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for webrunner-0.1.tar.gz
Algorithm Hash digest
SHA256 b0efa8dcb86fd63711c3b2d9bc1331ea952340b7babc091dca5dfa9bd5b34e95
MD5 cee007b4bb297ff40a48b922c174de4e
BLAKE2b-256 82a221363c7868f31f636a842d4d38ceee7ed3bdeff74088820e947e0f7a05a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page