Web Automation made easy, built around Selenium
Setting up
First off make sure your browser is up to date, selenate will by default use firefox.
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
Install selenate
$ pip install selenate
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
Metadata
Release files for selenate 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| selenate-0.4.0.tar.gz | 4.3 kB | Details |
Release files / selenate-0.4.0.tar.gz
| Download URL | selenate-0.4.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b75403ffa22d56e924eda4b38adcadaa21b087956e451b38636d2b7c0ce143d6
|
|
BLAKE2b-256 checksum How to use checksums |
c9e01e0348e677c3cce5506d35e605e47d6e37a82ab13e470af896a808c874f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |