Benjamin-Loison / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
0 stars 0 forks source link

[🚀 Feature]: How to check if `permissions.default.image` reduces bandwidth usage for a given task? #1

Open Benjamin-Loison opened 9 months ago

Benjamin-Loison commented 9 months ago

Feature and motivation

options.set_preference('permissions.default.image', 2)

Measure time would not be precise and could depend from a setup to another.

https://linuxtoosx.blogspot.com/2021/02/nettop-monitor-per-process-bandwidth.html could help.

https://unix.stackexchange.com/a/400531

Can manually enable this behavior with about:config > set permissions.default.image to 2.

On Chromium to do so:

â‹® > Settings > Privacy and security > Site settings > Content > Images.

Usage example

Not read.

Benjamin-Loison commented 1 month ago

Related to Improve_websites_thanks_to_open_source/issues/153.