You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
982 B
27 lines
982 B
def example_capabilities(module): |
|
PROXY = "192.168.1.101:8889" |
|
capabilities = { |
|
"acceptInsecureCerts": false, |
|
"browserName": "chrome", |
|
"browserVersion": "88.0.4324.96", |
|
"chrome": { |
|
"chromedriverVersion": "88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784})", |
|
"userDataDir": "/tmp/.com.google.Chrome.CN7yQ2", |
|
}, |
|
"goog:chromeOptions": {"debuggerAddress": "localhost:38551"}, |
|
"networkConnectionEnabled": false, |
|
"pageLoadStrategy": "normal", |
|
"platformName": "linux", |
|
"proxy": {}, |
|
"setWindowRect": true, |
|
"strictFileInteractability": false, |
|
"timeouts": {"implicit": 0, "pageLoad": 300000, "script": 30000}, |
|
"unhandledPromptBehavior": "dismiss and notify", |
|
"webauthn:extension:largeBlob": true, |
|
"webauthn:virtualAuthenticators": true, |
|
} |
|
|
|
|
|
|
|
|
|
# Import unittest module for creating unit tests
|
|
|