Screen capturing to detect animated (dynamic) dark patterns
gunesacar opened this issue · 2 comments
gunesacar commented
We can use scrot
to take screenshots automatically if Selenium somehow doesn't work:
https://www.maketecheasier.com/take-screenshots-in-ubuntu-at-regular-interval/
aruneshmathur commented
Since we're set on using MutationSummary, I propose closing this.
gunesacar commented
In addition to using mutation summaries we started to capture the screen every second: https://github.com/gunesacar/OpenWPM/blob/mutation_summary/automation/Commands/utils/screen_capture.py
To minimize the storage overhead, we don't take a screenshot if the captured bitmap did not change.