Skip to main content

RobotFramework wrapper of Playwright-Python

Project description

playwbot

Playwright-python wrapper for RobotFramework.

Installation

From the repository

  • clone the repo
  • easiest way is to use poetry and run poetry install and then poetry shell
  • to be able to run the tests, install the package for the development by python setup.py develop
  • RF tests are run by standard command robot <path>

From the Pypi

  • if using poetry, run poetry add playwbot and then poetry install
  • if using pip, run pip install playwbot

Importing module into the RF suite

  • if you have the file directly accesible, just point directly to the location, like this
Library    /some/path/to/the/library/Playwbot.py    browser=<chromium|firefox|webkit>
  • if you installed it from Pypi, then import it like this
Library    playwbot.Playwbot    browser=<chromium|firefox|webkit>

RobotFramework-style documentation

Is available here https://radekbednarik.github.io/playwbot/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playwbot-0.3.0.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

playwbot-0.3.0-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page