|
@@ -108,8 +108,8 @@ def re_get_webdriver():
|
|
|
options.add_argument("--user-agent=" +user_agent)
|
|
|
|
|
|
driver = webdriver.Remote(
|
|
|
- command_executor='http://127.0.0.1:'+str(portnum)+'/wd/hub'
|
|
|
-# options=options
|
|
|
+ command_executor='http://127.0.0.1:'+str(portnum)+'/wd/hub',
|
|
|
+ options=options
|
|
|
# desired_capabilities=options.to_capabilities(),
|
|
|
)
|
|
|
driver.set_window_size(1400,1000)
|