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.
1 parent 68f600d commit 7e9888aCopy full SHA for 7e9888a
py/selenium/webdriver/common/utils.py
@@ -49,7 +49,7 @@ def free_port() -> int:
49
free_socket.listen(5)
50
port: int = free_socket.getsockname()[1]
51
except Exception as e:
52
- raise RuntimeError(f"Can't find free port ({e})")
+ raise RuntimeError(f"Can't find free port: ({e})")
53
finally:
54
free_socket.close()
55
return port
0 commit comments