Best tool to use for a quick standalone piece of web automation run from the command line
I’m looking to write a fairly simple piece of web UI automation to perform a few actions across a few pages. It’s going to be standalone so doesn’t require a proper framework etc.
Scenario is that I have some mobile automation that I can run from the command line, and I’d like to be able to run a subsequent piece of web automation also from the command line and ideally wrap the two within a bat file, so I’m looking for advice on the simplest to use, best performing and most stable tool out of the likes of Selenium, Cypress, Playwright, Pupeteer etc.
Posted Jan 24, 2023, 12:16 PM UTC
Selenium is a “proper framework” but it’s pretty simple to use for simple tasks and is one of the most widely used.
Here is an example in python https://selenium-python.readthedocs.io/getting-started.html