Get Download folder of Chrome

I am trying to get the path of the download folder from Chrome settings.
But whenever I select the address bar of the file dialog and use the “Copy Selected Text” activity or send Hotkey (Ctrl + c), the selection gets changed to somewhere else.

Can anyone give me and workaround for this?
Thanks in advance.

Hi @Rounak_Kumar

I see…it is hard to get reliable selectors in this area but you could try it this way:

  1. Type into Chrome bar: chrome://settings/downloads/
  2. Use this selector with “Get Text” activity:
    <wnd app='chrome.exe' cls='Chrome_WidgetWin_1' title='Settings - Google Chrome' />
    <ctrl name='Settings' role='document' />
    <ctrl name='C:\*' role='text' />
    (could be that you need to change some values if you are using another language)

Pay attention that this selector expects that the download file path starts with "C:"


Thanks, Robot Master. This worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.