Skip to main content

A wrapper around selenium webdriver and some tools

Project description

z3c.webdriver

This package provides tools and wrappers around selenium.webdriver.

We specially care about selenium.webdriver.PhantomJS, because:

  • it’s easy to deploy, it’s a single executable, gp.recipe.phantomjs works

  • it’s built on webkit

  • it can be debugged with a Chromium / Chrome browser, incl. breakpoints

Things to watch out for:

  • any single instance of PhantomJS acts as a single browser instance that means cookies and whatnot are shared if you intantiate more browsers for a single driver. Workaround could be to start more drivers.

  • the headless browser is truly async, that means an AJAX click does NOT wait for the AJAX request to complete, you explicitely need to wait for it

  • any single call to PhantomJS via selenium takes TIME

  • zope.testbrowser supporting methods like getControl are slow now

  • there are 2 options for setUp/tearDown, either the driver is started and torn down with the layer or with each test. Starting and stopping takes around 1.5-2 secs, so you decide whether you need separation or speed.

WARNING

This is WORK IN PROGRESS

0.0.1 (2013-05-09)

  • Initial Release

Project details


Download files

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

Source Distribution

z3c.webdriver-0.0.1.zip (105.8 kB view details)

Uploaded Source

File details

Details for the file z3c.webdriver-0.0.1.zip.

File metadata

  • Download URL: z3c.webdriver-0.0.1.zip
  • Upload date:
  • Size: 105.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for z3c.webdriver-0.0.1.zip
Algorithm Hash digest
SHA256 98a51e8c1a3580239955c5329b8a5c1a6d11cdfd6d83598ea421deb459e90c4e
MD5 6b7de013b368fe08fd443f1b8d9e4559
BLAKE2b-256 75c05591e6ea9fa3086d0b31a5de917839fbf0f0e6a6ad965f0f0171e021b9ad

See more details on using hashes here.

Supported by

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