No project description provided
Project description
ADACS Playwright Class
Usage
Use this class instead of the django StaticLiveServerTestCase.
It adds 2 useful class properties:
self.browser = A browser object from playwright used for accessing the page. self.playwright = The return from sync_playwright().start()
This class only supports chronium and synchronous tests.
Example
from adacs_django_playwright.adacs_django_playwright import PlaywrightTestCase
class MyTestCase(PlaywrightTestCase):
def awesome_test(self):
page = self.browser.new_page()
page.goto(f"{self.live_server_url}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for adacs-django-playwright-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da2c6f20cc994c05bc6404c9e687251355906561c0788abccc8d902ccab822fb |
|
MD5 | 9860aef6103e7cabaeb3b83f1b24536a |
|
BLAKE2b-256 | 96488dcd624ee09e55f9ec353b9cbce5c8febc30f9e85b3091d7744c4870d5d1 |
Close
Hashes for adacs_django_playwright-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42062d926f4f9785f4fb43fffe48e3c5c6e9de35932b3456b315e7ebc0843a55 |
|
MD5 | f158b43d0019d7d10ec887329fac05f3 |
|
BLAKE2b-256 | d7ed2475c137fe56eb40a5c5ce41ecaa23b220eb7ecc872c94db272589ba3006 |