Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i use remote selenium driver by public ip with token or password? #2078

Open
bode135 opened this issue Nov 13, 2024 · 1 comment
Open

Comments

@bode135
Copy link

bode135 commented Nov 13, 2024

Can I set a password for the public network connection? It feels like anyone can connect directly, which seems a bit insecure.

@bode135 bode135 changed the title [Bug] Cannot use remote selenium driver by internet url Can i use remote selenium driver by public ip with token or password? Nov 13, 2024
@bode135
Copy link
Author

bode135 commented Nov 13, 2024

like

token = "1234567"
selenium_url = f'http://xxx.com:4444/wd/hub?token={token}'
driver = webdriver.Remote(selenium_url, options=options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant