Skip to main content

Deep Reinforcement Learning Environments for web-based tasks using Playwright

Project description

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

Dev Setup

  1. Install python-poetry: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
  2. Clone and cd to this projects: git clone https://github.com/praveen-palanisamy/playwrightgym && cd playwrightgym
  3. Activate python venv: poetry shell
  4. Install dependencies and playwrightgym in editable mode: poetry install
  5. Install browsers for playwright: playwright install
  6. Ready!

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

playwrightgym-0.1.0.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

playwrightgym-0.1.0-py3-none-any.whl (8.4 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