Skip to main content

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

Release files for z3c.webdriver 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for z3c.webdriver 0.0.1
File Size Uploaded
z3c.webdriver-0.0.1.zip 105.8 kB Details

Release files / z3c.webdriver-0.0.1.zip

Download URL z3c.webdriver-0.0.1.zip
Size 105.8 kB
Tags Source
SHA-256 checksum
How to use checksums
98a51e8c1a3580239955c5329b8a5c1a6d11cdfd6d83598ea421deb459e90c4e
BLAKE2b-256 checksum
How to use checksums
75c05591e6ea9fa3086d0b31a5de917839fbf0f0e6a6ad965f0f0171e021b9ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page