Replies: 1 comment
-
Does this work? (adjust the values as necessary) let mut caps = DesiredCapabilities::chrome();
caps.set_proxy(Proxy::Manual {
ftp_proxy: None,
http_proxy: None,
ssl_proxy: None,
socks_proxy: Some("localhost:1080".to_string()),
socks_version: Some(5),
socks_username: Some("username".to_string()),
socks_password: Some("password".to_string()),
no_proxy: None,
})?;
let driver = WebDriver::new("http://localhost:9515", caps).await?; |
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
-
Can anyone tell me how to enable Proxy DNS when using SOCKS v5 using Thirtyfour library?
Beta Was this translation helpful? Give feedback.
All reactions