microsoft/playwright-python ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python library for browser automation that lets me control Chromium, Firefox, and WebKit with the same simple API.
I want both a synchronous and an asynchronous way to use it, so people can write either style depending on their app. It should be able to open a browser, create a page, go to a website, and take a screenshot, with a clean example that shows the same task in all three browsers. Please make it feel reliable and easy to use, like something a tester or developer could drop into a project right away.
Set it up so the package can be installed and run from Python, and include basic docs or examples that show the main workflow. If you need to check current browser or runtime details online while implementing it, go ahead. Also include tests for the main actions and make sure the code is organized so it is easy to maintain.
Are you gonna build this?
make sure you review the code using coderabbit