Replies: 1 comment
-
Try options.add_argument('--proxy-server= "login:password@ip:port" ') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi when I do this the proxy works
But I don't understand how it works sorry as usually with other browser automations I have to supply the username and password
I do have my IP whitelisted with oxylabs so I think that's what makes it work?
But what if I didn't have my IP whitelisted how could I specify the username and password? Thank you! 😁
options = Options()
options.add_argument('--proxy-server=http://ip:port')
async def main():
async with Chrome(options=options) as browser:
await browser.start()
page = await browser.get_page()
Beta Was this translation helpful? Give feedback.
All reactions