Metadata-Version: 2.1
Name: adacs-django-playwright
Version: 0.1.0
Summary: 
Author: Asher
Author-email: jasherleslie@gmail.com
Requires-Python: >=3.8
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: django
Requires-Dist: pytest-playwright (>=0.4.3)
Description-Content-Type: text/markdown

## 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}")
```

