Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/4thel00z/seleniumctl
A versatile CLI tool built with Go that uses Selenium WebDriver to automate browser actions. Supports multiple browsers (Firefox, Chrome) and includes features like headless mode, automated form filling, interaction logging, screenshots, and more. Easily configure workflows via JSON inputs, with full support for Selenium's action types.
https://github.com/4thel00z/seleniumctl
automation cli go selenium selenium-webdriver testing webdriver
Last synced: 14 days ago
JSON representation
A versatile CLI tool built with Go that uses Selenium WebDriver to automate browser actions. Supports multiple browsers (Firefox, Chrome) and includes features like headless mode, automated form filling, interaction logging, screenshots, and more. Easily configure workflows via JSON inputs, with full support for Selenium's action types.
- Host: GitHub
- URL: https://github.com/4thel00z/seleniumctl
- Owner: 4thel00z
- Created: 2024-09-17T00:48:04.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-17T00:48:10.000Z (4 months ago)
- Last Synced: 2024-11-24T16:52:08.852Z (about 1 month ago)
- Topics: automation, cli, go, selenium, selenium-webdriver, testing, webdriver
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# seleniumctl
## Motivation
I hate writing bespoke selenium code.
It's boring and the API is ugly and very hard to remember.This tool solves this, it is a cli that consumes a json format which encodes selenium steps.
It comes with a browser extension that records user interactions and formats it, so it fits into the format mentioned.Beware, the browser extension is not feature complete but it does a pretty good job already.
Also, there is only an extension written for firefox.## Usage
Compile and install via:
```
go install github.com/4thel00z/seleniumctl/...@latest
``````
echo '[
{
"action": "navigate",
"url": "https://google.de",
"timestamp": 1726532349420
}
] | seleniumctl'
```Optional: Install the browser extension by going to [the debugging panel](about:debugging#/runtime/this-firefox).
## License
This project is licensed under the GPL-3 license.