Skip to content

Commit ba51d51

Browse files
committed
Remove a duplicate line and filter a warning
1 parent 00663a8 commit ba51d51

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
@@ -410,7 +410,7 @@ def get_remote_driver(
410410
for key in desired_caps.keys():
411411
firefox_capabilities[key] = desired_caps[key]
412412
capabilities = firefox_capabilities
413-
address = "http://%s:%s/wd/hub" % (servername, port)
413+
warnings.simplefilter("ignore", category=DeprecationWarning)
414414
return webdriver.Remote(
415415
command_executor=address,
416416
desired_capabilities=capabilities,

0 commit comments

Comments
 (0)