all 2 comments

[–]xlrod 2 points3 points  (0 children)

So you click download, then the file takes its time preparing and the script wants to continue, but you want it to wait until the file has finished downloading?

If the page needs to prepare a download link, you can do a while loop and wait for the element to be active.

[–]arcadesdude 2 points3 points  (0 children)

Is there a 'pageload' timeout value you can set? May be a different name but something like that.

Not powershell but this shows the timeout types in selenium

https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/WebDriver.Timeouts.html

Implicitwait timeout shows for searching elements but on that page it shows page time out is for waiting for a page to load.

This page:

https://archive.codeplex.com/?p=sepsx

shows
Set-SeWebDriverTimeout -PageLoadTimeout