Skip to main content

No project description provided

Project description

robotframework-browser

All Contributors

Version Actions Status License


:construction_worker: :construction: Work in Progress :construction: :performing_arts:

Robot Framework Browser library powered by Playwright. Moving browser automation to year 2020 (or 2021)!

Aiming for :rocket: speed, :white_check_mark: reliability and :microscope: visibility.

Official post about this venture.

Installation instructions for users

  1. Install node.js e.g. from https://nodejs.org/en/download/
  2. Install robotframework-browser from the commandline: pip install robotframework-browser
  3. Install the node dependencies needed to run Playwright from the commandline: rfbrowser init

Development

Development environment

Install Python, nodejs and yarn. Make sure you have make available.

Setup development environment with make dev-env. This creates a Python virtualenv in .venv directory, and install both Python and nodejs dependencies.

To update the dependencies use either make dev-env to update all or alternatively make .venv or make node-deps to update only Python or nodejs dependencies, respectively.

Make sure to run source .venv/bin/activate to activate the correct virtualenv

Testing

There are both unit tests written with pytest and acceptance test written with Robot Framework. These can be run manually with make utest and make atest. The tests are also executed in a prepush hook.

Code style

Python code style is enforced with flake8 and black. These are executed in a precommit hook, but can also be invoked manually with make lint-python.

Architecture

Python Library <--> gRPC <---> TypeScript and Playwright

Contributors

This project is community driven and becomes a reality only through the work of all the people who contribute. Supported by Robocorp through Robot Framework Foundation.


Mikko Korpela

💻

Tatu Aalto

💻

Antti Karjalainen

🔍

Ismo Aro

🔍

Janne Härkönen

💻

Kerkko Pelttari

💻

Robocorp

💵

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

robotframework-browser-0.1.1.tar.gz (20.9 kB view hashes)

Uploaded Source

Built Distribution

robotframework_browser-0.1.1-py3-none-any.whl (28.3 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