Skip to main content

Web Automation made easy

Project description

https://img.shields.io/pypi/v/selenate.svg https://img.shields.io/pypi/dm/selenate.svg

Web Automation made easy, built around Selenium

Setting up

  1. First off make sure your browser is up to date, selenate will by default use firefox.
  1. Download the latest selenium server look for the latest version number directory, and find a file selenium-server-standalone-x.xx.x.jar and save it as selenium-server.jar
  1. Install selenate
$ pip install selenate
  1. Install the Java Runtime Environment if you have not already, instructions to do so are here. It’s also very likely that your package manager can also install it for you.

Documentation

Documentation is available at readthedocs

Coding

Here’s some basic code to start a browser and navigate a little bit

from selenate import Selenate
browser = Selenate() # start your browser
browser.get("https://github.com/wmak/selenate") # go to this url
browser.click(".mega-octicon") # click on this css element

Project details


Download files

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

Files for selenate, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size selenate-0.4.0.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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