1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| options = { 'addr': '192.168.0.10', 'port': 9999, 'auto_config': True, 'ca_cert': '/path/to/ca.crt', 'ca_key': '/path/to/ca.key', 'disable_capture': True, 'disable_encoding': True, 'enable_har': True, 'exclude_hosts': ['google-analytics.com'], 'ignore_http_methods': [], 'proxy': { 'http': 'http://user:pass@192.168.10.100:8888', 'https': 'https://user:pass@192.168.10.100:8889', 'no_proxy': 'localhost,127.0.0.1' }, 'request_storage': 'memory', 'request_storage_base_dir': '/my/storage/folder', 'request_storage_max_size': 100, 'verify_ssl': True, 'suppress_connection_errors': False } driver = webdriver.Chrome(seleniumwire_options=options)
|