Closed lielurbanico closed 3 months ago
Please follow the bug template to file something we can reproduce locally.
Your problem should be the same as mine, probably because your download method is post, expect_download, which only recognizes get types.
Version
1.40.0
Steps to reproduce
Example steps (replace with your own):
expect_download
, click the download button throughpage.mouse.click(x, y)
Expected behavior
I was expecting my code to resume after the file is downloaded.
Actual behavior
My code freezes as
expect_download
doesn't resolve after the file is fully downloaded.Additional context
Example code:
expect_popup
works well and indeed,new_page
contains the new page that opens up. However, after I useexpect_download
, it click the download button (I must use coordinates due to other unrelated issues, but withheadful
view, I can see that the download button is indeed clicked), but the program does not resume.Environment