Hello,
I have a question about controlling the dialog that appears when selecting a local file in the Edge or Chrome browser.
Depending on the state of the desktop, I can't control it well, so if anyone knows a more reliable method than mine, I would appreciate your guidance.
I always use the "UI Automation" action to control the dialog. I wait for the dialog to appear, enter the full path of the specified file in the file name, and press the open (or save) button.
In the Edge browser, I prepare UI elements with selectors like the following:
> window[Class="#32770"][Process="msedge"]
> window[Class="#32770"][Process="msedge"] > combobox[Class="ComboBox"][Name="ファイル名(N):"] > edit[Class="Edit"]
> window[Class="#32770"][Process="msedge"] > button[Class="Button"][Name="開く(O)"]
Basically, there is no problem, but I can't retrieve it when multiple Edge browsers are running on the screen.
Avoiding that situation solves the problem, but sometimes I want to display multiple windows to do some work. Is there a good method for this?