Deriv Bot

Deriv (formerly is an online trading platform. This repo uses Playwright to automate some common operations on the website ( Most work here is used by a client, I’m making some parts of the codebase available since I so far can’t find great resources for learning Playwright’s Python API. Selenium has been the go-to for Browser Automation with Python for years.

So strictly, this repo isn’t about Deriv, it’s rather a demonstration of what you can do with Playwright beyond Pytest hello world examples ??


Use the package manager pip to install the requirements.

pip install -r requirements.txt
playwright install

For the UI, PysimpleGUI/TKinter is used, Python for Windows comes bundled with Tkinter. For Linux users, installing TKinter will be something like

sudo apt-get install python3-tk




Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.




View Github