We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
service_url
1 parent 58c3c5c commit c09027bCopy full SHA for c09027b
py/selenium/webdriver/common/service.py
@@ -51,7 +51,7 @@ def service_url(self):
51
"""
52
Gets the url of the Service
53
54
- return "http://%s" % utils.join_host_port('localhost', self.port)
+ return f"http://{utils.join_host_port('localhost', self.port)}"
55
56
def command_line_args(self):
57
raise NotImplementedError("This method needs to be implemented in a sub class")
0 commit comments