geckordp.actors.network_parent module
- class geckordp.actors.network_parent.NetworkParentActor(*args, **kwargs)
Bases:
Actor
https://github.com/mozilla/gecko-dev/blob/master/devtools/shared/specs/network-parent.js
- block_request(filters: dict)
- clear_network_throttling()
- get_blocked_urls()
- get_network_throttling()
- set_blocked_urls(urls: List[str])
- set_network_throttling(download_throughput: int, upload_throughput: int, latency_ms: int)
- set_persist(enabled: bool)
- set_save_request_and_response_bodies(save: bool)
- unblock_request(filters: dict)