Skip to content

Commit 2c45111

Browse files
committed
Update an example
1 parent 56382ae commit 2c45111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test_download_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ def test_download_files_from_pypi(self):
5252
self.download_file(whl_href)
5353
self.download_file(tar_href)
5454
else:
55-
self.click(whl_selector) # Download the "whl" file
55+
self.js_click(whl_selector) # Download the "whl" file
5656
self.sleep(0.1)
57-
self.click(tar_selector) # Download the "tar" file
57+
self.js_click(tar_selector) # Download the "tar" file
5858

5959
# Verify that the downloaded files appear in the [Downloads Folder]
6060
# (This only guarantees that the exact file name is in the folder.)

0 commit comments

Comments
 (0)