adacs-django-playwright


Nameadacs-django-playwright JSON
Version 1.1.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-10-31 06:09:49
maintainerNone
docs_urlNone
authorAsher
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## 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}")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "adacs-django-playwright",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Asher",
    "author_email": "jasherleslie@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/af/bb/9cdafa94f609548f088d31032fb26ebf5252b36735cd173fff661311e740/adacs_django_playwright-1.1.0.tar.gz",
    "platform": null,
    "description": "## ADACS Playwright Class\n\n#### Usage\nUse this class instead of the django StaticLiveServerTestCase.\n\nIt adds 2 useful class properties:\n\nself.browser = A browser object from playwright used for accessing the page.\nself.playwright = The return from sync_playwright().start()\n\nThis class only supports chronium and synchronous tests.\n\n#### Example\n\n```\nfrom adacs_django_playwright.adacs_django_playwright import PlaywrightTestCase\n\nclass MyTestCase(PlaywrightTestCase):\n\n  def awesome_test(self):\n    page = self.browser.new_page()\n    page.goto(f\"{self.live_server_url}\")\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "1.1.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e1c85fcb327f453bb7eaa36241dc44c20573d46e5815054e7648391c9a05938",
                "md5": "a09cc80151dbbd65a2e9b95b5f5ae835",
                "sha256": "6e440336253da29ef89ce3ddc08d59746a8eeccf2b534b53efd2726e72f816cd"
            },
            "downloads": -1,
            "filename": "adacs_django_playwright-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a09cc80151dbbd65a2e9b95b5f5ae835",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 2764,
            "upload_time": "2024-10-31T06:09:47",
            "upload_time_iso_8601": "2024-10-31T06:09:47.900165Z",
            "url": "https://files.pythonhosted.org/packages/0e/1c/85fcb327f453bb7eaa36241dc44c20573d46e5815054e7648391c9a05938/adacs_django_playwright-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afbb9cdafa94f609548f088d31032fb26ebf5252b36735cd173fff661311e740",
                "md5": "eff709c8a91cc3a12bec31952b4a3fb0",
                "sha256": "b2d3e8421e3cde11f7e60bdd6c7c5a5995cc5dabef077ba532e5fcdd193a39e3"
            },
            "downloads": -1,
            "filename": "adacs_django_playwright-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "eff709c8a91cc3a12bec31952b4a3fb0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 2097,
            "upload_time": "2024-10-31T06:09:49",
            "upload_time_iso_8601": "2024-10-31T06:09:49.307824Z",
            "url": "https://files.pythonhosted.org/packages/af/bb/9cdafa94f609548f088d31032fb26ebf5252b36735cd173fff661311e740/adacs_django_playwright-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-31 06:09:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "adacs-django-playwright"
}
        
Elapsed time: 1.14880s