https://github.com/maxpleaner/headless_browser_sinatra
point/click/type macro recorder for browser interaction (a web interface built with Ruby)
https://github.com/maxpleaner/headless_browser_sinatra
Last synced: about 1 year ago
JSON representation
point/click/type macro recorder for browser interaction (a web interface built with Ruby)
- Host: GitHub
- URL: https://github.com/maxpleaner/headless_browser_sinatra
- Owner: MaxPleaner
- Created: 2016-07-29T08:20:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-11T21:00:14.000Z (almost 10 years ago)
- Last Synced: 2025-01-29T12:15:16.498Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 490 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Installation:
1. `sh install.sh`
2. `bundle`
_note_ the install script is for Ubuntu x86_64 specifically.
To use this project on a differet system, read the `install.sh` file for a list of dependencies and install them using
your package manager. Also replace the firefox source url with one compiled for your system's specs.
Usage:
1. `ruby start_server.rb`
2. Set `ENV["APP_PORT"]` (defaults to 4567) and `ENV["APP_HOST"]` (defaults to localhost)
2. visit the root url in the browser
About:
This is a Sinatra web application.
It uses the `headless` and `selenium-webdriver` gems to launch a firefox browser.
It runs commands on the firefox browser.
It shows the firefox browser's current state as a screenshot
It can forward clicks to the firefox browser, enter text, and execute arbitrary javascript.
It records macros of command sequences and replays them.
It can nest macros.
It handles alerts/prompts/confirms to address selenium's shortcomings.
Here's [a screencast](https://www.youtube.com/watch?v=9h89fxNTt7s) to see it in action.
**Update** now supports downloading files.