dgtlmoon / dgtlmoon/changedetection.io

[feature] add support to execute puppeteer code

Open
#3,048 2 comments 0 reactions 0 assignees View on GitHub
browser-steps enhancement
Dominant language
Python
Stars
34.1k
Forks
2k
Avg merge
23h 38m
Merged PRs (30d)
67

Description

**Version and OS**
v0.49.7 - docker on raspbian OS but this is OS independent

**Is your feature request related to a problem? Please describe.**
not really, it just adds more convenience to the user

**Describe the solution you'd like**
I am using browser steps for more and more use cases, although it is a great solution, in many cases it is not possible to achieve what I want using the available options. as workaround I write JS code to do it. at the same time realized that Sock Puppet(eer) Browser included in changedetection supports puppeteer and some browser plugins could be used to record steps and export as puppeteer code (including chrome built in developer tools recorder), I was thinking it could be a more efficient way to add support to provide puppeteer code to be executed as browser steps (same as JS code option available today) which can be much more convenient for users.

**Describe the use-case and give concrete real-world examples**
-need to select option from a drop down menu, not possible using browser steps simple options, have to write everytime a JS code.
-set date/time in reservation website, where input fields are read only, solved by removing read-only attribute using JS code, but could be much easier if steps are recorded using plugin and exported to be fed directly to changedetection as puppeteer code.

**Additional context**
not really, hope is already clear

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing browser-step JavaScript execution path and the current browser-step options. Compare its input and execution model with the requested Puppeteer code and the two stated use cases. Done means the scope and interface for supplying Puppeteer code are defined and both examples can be supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.