You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to set up Referer in Headers, but I'm not getting anywhere. I tried this code, doesn't work, through Options and cdp_cmd, still Referer is empty:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm trying to set up Referer in Headers, but I'm not getting anywhere. I tried this code, doesn't work, through Options and cdp_cmd, still Referer is empty:
options.add_argument(f"--referer={reffer}")
driver.execute_cdp_cmd('Network.setExtraHTTPHeaders', { 'headers': { 'Referer': 'https://example.com' } })
How to customize this? Or is customizing custom Referer in Headers not available in uc?
Beta Was this translation helpful? Give feedback.
All reactions