An extensible framework for building browser automations.
$ pip install cantaloupe
$ poetry run cantaloupe --help
A workflow is a YAML file that describes a series of steps to be executed. The following example workflow will open Google and type "cantaloupe" into the search bar.
Note: nothing will actually happen until a cantaloupe plugin is installed that implements the logic to translate the workflow steps into browser actions. Please see the Plugins section for more information.
name: "Google Search"
steps:
- action: goto
config:
url: "https://google.com"
- action: type
config:
selector: "input[name='q']"
text: "cantaloupe"
- cantaloupe-playwright coming soon
- Python >= 3.10
- Poetry
Plugins are created by implementing the cantaloupe hookspec. See cantaloupe/hookspecs.py for the hookspecs.