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 cb1564d commit f622897Copy full SHA for f622897
seleniumbase/core/browser_launcher.py
@@ -1314,9 +1314,9 @@ def get_driver(
1314
binary_location = None
1315
if (uc_cdp_events or uc_subprocess) and not undetectable:
1316
undetectable = True
1317
- if is_using_uc(undetectable, browser_name) and mobile_emulator:
1318
- if not user_agent:
1319
- user_agent = constants.Mobile.AGENT
+ if mobile_emulator and not user_agent:
+ # Use a Pixel user agent by default if not specified
+ user_agent = constants.Mobile.AGENT
1320
if page_load_strategy and page_load_strategy.lower() == "none":
1321
settings.PAGE_LOAD_STRATEGY = "none"
1322
proxy_auth = False
0 commit comments