dgtlmoon / changedetection.io

The best and simplest free open source web page change detection, website watcher, restock monitor and notification service. Restock Monitor, change detection. Designed for simplicity - Simply monitor which websites had a text change for free. Free Open source web page change detection, Website defacement monitoring, Price change notification
https://changedetection.io
Apache License 2.0
20.02k stars 1.08k forks source link

Request to Capture Screenshots After Applying "Remove Elements" #1821

Open adripo opened 1 year ago

adripo commented 1 year ago

Describe the bug Currently, screenshots are taken before the application of "Remove elements" (subtractive_selectors) on a page. This leads to inaccurate representation in cases where this feature significantly alters the page layout or content.

Version 0.45.2

Expected behavior I expected that the screenshot should be taken after the application of "Remove elements" (subtractive_selectors) so that it accurately reflects the modified page.

dgtlmoon commented 1 year ago

Yeah, maybe a good idea

denilsonsa commented 8 months ago

If you live in Europe, most of the time the screenshots will covered by the cookie notices. Thus, removing those elements is required in order to make the screenshot remotely useful.

denilsonsa commented 2 weeks ago

Current behavior:

The desired behavior would be to remove the elements before taking the screenshot.

As a workaround, we can manually remove those elements by using JavaScript, as custom scripts are executed before taking the screenshot.