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 745d01f commit 85ae06eCopy full SHA for 85ae06e
py/selenium/webdriver/remote/webelement.py
@@ -534,10 +534,10 @@ def send_keys(self, *value):
534
# transfer file to another machine only if remote driver is used
535
# the same behaviour as for java binding
536
if self.parent._is_remote:
537
- local_files = list(map(lambda keys_to_send:
538
- self.parent.file_detector.is_local_file(keys_to_send),
539
- ''.join(*value).split('\n')))
540
- if None not in local_files:
+ local_files = list(map(lambda keys_to_send:
+ self.parent.file_detector.is_local_file(keys_to_send),
+ ''.join(value).split('\n')))
+ if not None in local_files:
541
remote_files = []
542
for file in local_files:
543
remote_files.append(self._upload(file))
0 commit comments