Add disable image, css, fonts option with CDP (#1626)

Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Azizul Haque Ananto
2025-11-29 03:27:05 +01:00
committed by GitHub
parent 368d5d4e05
commit 409e0844a7
5 changed files with 59 additions and 2 deletions

View File

@@ -46,6 +46,8 @@ class V1RequestBase(object):
download: bool = None # deprecated v2.0.0, not used
returnRawHtml: bool = None # deprecated v2.0.0, not used
waitInSeconds: int = None
# Optional resource blocking flag (blocks images, CSS, and fonts)
disableMedia: bool = None
def __init__(self, _dict):
self.__dict__.update(_dict)