Skip to content

Commit e63d425

Browse files
committed
Move a variable-definition line
1 parent a5d3b29 commit e63d425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,6 @@ def get_remote_driver(
876876
device_height,
877877
device_pixel_ratio,
878878
):
879-
downloads_path = download_helper.get_downloads_folder()
880879
if servername.startswith("https://"):
881880
protocol = "https"
882881
servername = servername.split("https://")[1]
@@ -900,6 +899,7 @@ def get_remote_driver(
900899
address += "wd/hub"
901900
else:
902901
address += "/wd/hub"
902+
downloads_path = download_helper.get_downloads_folder()
903903
desired_caps = {}
904904
extra_caps = {}
905905
if cap_file:

0 commit comments

Comments
 (0)