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 ac268a1 commit fbfa5d2Copy full SHA for fbfa5d2
py/selenium/webdriver/remote/file_detector.py
@@ -47,5 +47,6 @@ class LocalFileDetector(FileDetector):
47
def is_local_file(self, *keys: AnyKey) -> Optional[str]:
48
file_path = "".join(keys_to_typing(keys))
49
with suppress(OSError):
50
- return Path(file_path).is_file()
+ _ = Path(file_path).is_file()
51
+ return file_path
52
0 commit comments