Qytera-Gmbh / QTAF

QTAF is a Java test framework based on TestNG and offers easy setup of Selenium and fast extensibility.
https://qytera-gmbh.github.io
MIT License
10 stars 0 forks source link

Download-Folder has to be configurable #221

Closed Stipci closed 2 months ago

Stipci commented 11 months ago

Need a option to set up the download folder. On my wish it is a good option that the download is then setup to the local "target" or "log" folder.

MoritzSalein commented 11 months ago

Is this not the point that we should include in our configuation a general possibility for browser options? It is quite similar to the ticket of headless https://github.com/Qytera-Gmbh/QTAF/issues/175.

qytera-development commented 11 months ago

If you want to set the download folder you can already do that by overwriting the browser class. You clould also define a new key in the qtaf.json file, read it via the ConfigMap class and then set the value in the Driver class.

OliverHoenig commented 11 months ago

@qytera-development @MoritzSalein @Stipci Is this a feature we should continue to work on or is the workaround sufficient?

MoritzSalein commented 11 months ago

Currently we can't include a solution in our Framework. You have to follow the idea of qytera-development. @OliverHoenig Please add an additional link to an external resource where you can find a desciption of overwriting a browser class. When the link is added, ticket can be closed.

csvtuda commented 5 months ago

Resolving this issue is not possible through basic driver options/capabilities. For Chromium-based browsers, experimental options need to be defined. For Firefox, the preferences need to be properly configured instead. For Internet Explorer, I do not really want to look it up.

OliverHoenig commented 2 months ago

A fix has been implemented in v0.2.20.