Last updated:
0 purchases
playwrightgym 0.1.0
PlaywrightGym - Train RL Agents for Web tasks
Web-Browser-based learning environments for Deep Reinforcement Learning.
Usage
import gym
import playwrightgym
env = gym.make("LoginFormVisual-v0")
Examples
examples/demonstrator.py: Starter class to get human/manual demonstrations
examples/gather_demonstrations.py: Starter script to gather human/manual demonstrations and store in RLLib-compatible file format for offline RL
Dev Setup
Install python-poetry: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
Clone and cd to this projects: git clone https://github.com/praveen-palanisamy/playwrightgym && cd playwrightgym
Activate python venv: poetry shell
Install dependencies and playwrightgym in editable mode: poetry install
Install browsers for playwright: playwright install
Ready!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.