Web-Browser-based learning environments for Deep Reinforcement Learning.
import gym
import playwrightgym
env = gym.make("LoginFormVisual-v0")
- 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
- 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!