Can I wait until some file exists on my project directory? #1809
ramesh-khatri
started this conversation in
General
Replies: 1 comment 1 reply
-
you can use Taiko's waitFor api to wait for any predicate...for your case the predicate has be to check if file exists Eg: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to store the downloaded file and then trying to read that file
I am getting error as no such file or directory, stat 'data\file\downloaded\my_resume.pdf' . Can I wait for that file to be stored on that? After the test failed, I can see that file is stored on that specified path. Is there any better way to do a certain task after completing some task?
Beta Was this translation helpful? Give feedback.
All reactions