Skip to content

Commit ef6a261

Browse files
committed
[py] Change exception type
1 parent 96b4d60 commit ef6a261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/remote/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def start(self):
127127
self.process = subprocess.Popen(command, env=self.env)
128128
print(f"Selenium server running as process: {self.process.pid}")
129129
if not self._wait_for_server():
130-
raise ConnectionError(f"Timed out waiting for Selenium server at {self.status_url}")
130+
raise TimeoutError(f"Timed out waiting for Selenium server at {self.status_url}")
131131
print("Selenium server is ready")
132132
return self.process
133133

0 commit comments

Comments
 (0)