Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change Chrome download directory - use download_location() #329

Closed
Mavericks334 opened this issue Nov 19, 2021 · 2 comments
Closed
Labels

Comments

@Mavericks334
Copy link

Mavericks334 commented Nov 19, 2021

Hi @kensoh

For the TAG UI there as a helper function to change the download folder locations based on this issue

[https://github.com/aisingapore/TagUI/issues/1035]

Is there something similar for the python version as well. r.download_folder() does not work

Regards,
Renato.

@fi-do
Copy link
Contributor

fi-do commented Nov 19, 2021

Hey @Mavericks334,
with rpa v1.41 you can set the default download directory via:
r.download_location('/home/fido/PycharmProjects/test')
Also you can check the actual download folder with:
default_location = r.download_location()
If you don't want to change your default directory, you can download the file directly to your destination:
r.download("https://pics.de/picture.png", "/tmp/my_picture.png")

I hope I was able to help you,
fi-do

@Mavericks334
Copy link
Author

@fi-do thank you.

@kensoh kensoh added the query label Apr 18, 2022
@kensoh kensoh changed the title How to change Chrome download directory using helper Function? How to change Chrome download directory - use download_location() Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants