We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2dc0d commit b7210a8Copy full SHA for b7210a8
utils.py
@@ -4,7 +4,6 @@
4
from selenium import webdriver
5
6
import settings
7
-from settings import DESIRED_CAP
8
9
10
def launch_driver(driver_name=settings.DRIVER, desired_capabilities=None):
@@ -94,7 +93,7 @@ def launch_driver(driver_name=settings.DRIVER, desired_capabilities=None):
94
93
chrome_options.add_argument(f'user-agent={custom_user_agent}')
95
96
# Make a copy of desired capabilities for Chrome
97
- desired_capabilities = DESIRED_CAP.copy()
+ desired_capabilities = settings.DESIRED_CAP.copy()
98
99
# Attach Chrome options
100
desired_capabilities['goog:chromeOptions'] = {
0 commit comments