screenpy-playwright

ScreenPy extension to enable interacting with Playwright.


License
MIT
Install
pip install screenpy-playwright==0.0.4

Documentation

ScreenPy Playwright

Build Status Build Status

Supported Versions Checked with mypy Code style: black Imports: isort Ruff

TITLE CARD:
                               "ScreenPy Playwright"
TITLE DISAPPEARS.
                                                                      FADE IN:
INT. DOCUMENTATION - GLOAMING

Scene settles on an UNKNOWN MAN, feverishly writing with an overly fancy
quill at a writing desk. Several crumpled papers are around him, but there
is a sizeable stack intact, scrawled with text. The writing desk is butted
against a large window, with a beautiful view of the dwindling sunset.
Bookshelves crammed with books flank the window; it is clear the books are
frequently taken down and put back in different spots. AUDIENCE gently opens
a nearby door.

                              AUDIENCE
                              (whispering)
            Oh! Excuse me, i didn't mean to intrude.

The UNKNOWN MAN does not look up, as if he did not hear AUDIENCE. He continues
writing.

                              NARRATOR (V.O.)
            This young man is the Playwright extension for
            ScreenPy. He is relatively new here, but he has
            quite a large reputation backing him.

                              AUDIENCE
            Can he hear me? And wait, he's a real man?

                              NARRATOR (V.O.)
            He is singularly focused. He is real, in a sense.

                              AUDIENCE
            Does he ever, y'know... eat? Sleep?

                              NARRATOR (V.O.)
            No.

                              AUDIENCE
            All right, you've got a strange definition of "real."

AUDIENCE takes one last look at PLAYWRIGHT before leaving, softly closing
the door behind them.

                                                                      FADE OUT

Installation

pip install screenpy_playwright

or

pip install screenpy[playwright]

Documentation

Please check out the Read The Docs documentation for the latest information about this module!

You can also read the ScreenPy Docs for more information about ScreenPy in general.

Contributing

You want to contribute? Great! Here are the things you should do before submitting your PR:

  1. Fork the repo and git clone your fork.
  2. dev install the project package:
    1. pip install -e .[dev]
    2. Optional (poetry users):
      1. poetry install --extras dev
  3. Run pre-commit install once.
  4. Run tox to perform tests frequently.
  5. Create pull-request from your branch.

That's it! :)