robotframework-browser icon indicating copy to clipboard operation
robotframework-browser copied to clipboard

If `downloadsPath` is set for New Browser files get deleted, documentation leaves this unclear

Open xylix opened this issue 3 years ago • 1 comments

Describe the bug

The docs for New Browser downloadsPath say this:

downloadsPath If specified, accepted downloads are downloaded into this folder. Otherwise, temporary folder is created and is deleted when browser is closed.

It does not state anything about what happens to files at browser close, if this is defined. At least a couple users have been mislead by this.

Expected behavior Either make the docs for downloadsPath clearly say that files get deleted in any case, or have files not be deleted if downloadsPath is set.

xylix avatar Feb 01 '22 12:02 xylix

The #1889 and this might have same root cause. Should be retested when next release goes out.

aaltat avatar Apr 07 '22 19:04 aaltat

I also implemented that the saveAs argument, if given a relative path and if downloadsPath is set, will be relative to downloadsPath.

Snooz82 avatar Nov 07 '23 16:11 Snooz82