No project description provided
Project description
robotframework-browser
: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.
Supporting testing and automation with Robot Framework and Python.
Official post about this venture.
Installation instructions for users
- Install node.js e.g. from https://nodejs.org/en/download/
- Install robotframework-browser from the commandline:
pip install robotframework-browser - 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
Development in Windows
Install Chocolatey and then install development tools with
choco install sed make.
After that, the development workflow should work as described in the previous chapter.
The only difference is that the virtualenv needs to be activated by running
.venv\Scripts\activate in the command prompt.
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.
Releasing
- Ensure generated code and types are up to date with
make build - Ensure tests and linting pass on CI
- Check that you have permissions to release on Github and PyPi
- Use
make releaseto create and release artifacts and upload to PyPi - Create Github release
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework-browser-0.2.0.tar.gz.
File metadata
- Download URL: robotframework-browser-0.2.0.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
259fd9545c2d5a1a2737a34f45ceee7dc7f2db97b8b4c2a48f307f1d38412b5d
|
|
| MD5 |
62f9137650345e158403570f1a8ccdaf
|
|
| BLAKE2b-256 |
325801a50d896bfa7b84c121c1c00baf5aab0ccce6c9cc1d29fdbdf9d1c54203
|
File details
Details for the file robotframework_browser-0.2.0-py3-none-any.whl.
File metadata
- Download URL: robotframework_browser-0.2.0-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b073793e77820ec070ff46b6db3d6e24951ad385561b611829ec7ab1bc3a0e8
|
|
| MD5 |
cd755a0af60a6f6d5ec0c9439608068d
|
|
| BLAKE2b-256 |
08610670aea6ff3db886d6fc3f1aaa0288e5043c59642467edac24f0cfef847b
|