elemtclick downloads file.
I can see in
intelj when I click
At first it is empty. Then I run this and it shows size as 0 at both console output. Then in next run, it becomes 1 because the file downloaded before.
filesarray> 0 is not becoming true.
element.click() but it still does not wait for file or does not sync with it.
What I want to do is:
- I get the counts of downloading before the operation
- I get the counts after downloaded
- I expect
count = currentcount - 1
But it cannot see the file, why?
I think I have to refresh the session but maybe there is an another way.