Add a proxy server support for Chrome
This commit is contained in:
1 parent
71d4bf5092
commit
1aa1976c1a
1 file changed
+2
@@ -493,6 +493,8 @@ class LoginForm:
|
||||
options.add_argument("--no-sandbox")
|
||||
options.add_argument("--test-type")
|
||||
options.add_argument("--disable-gpu")
|
||||
if self._manager._twitch.settings.proxy:
|
||||
options.add_argument(f"--proxy-server={self._manager._twitch.settings.proxy}")
|
||||
options.set_capability("pageLoadStrategy", "eager")
|
||||
try:
|
||||
driver_coro = loop.run_in_executor(
|
||||
|
||||
Reference in new issue
Block a user