Semirxbih
10 months agoContributor
Unable to target download dialog window
Hey all,
So I am running into an issue where I am unable to target the "Downloads" dialog window on Microsoft Edge so I am seeking some help to see if anyone might be able to give me some guidance.
Here is the window that I am attempting to target:
So when I check my objectTree, I am able to see the following object:
Then I can see that I have an active Edge browser window:
So I have tried all of the following scenarios, here is the first scenario that I attempted:
var downloadDialog = Aliases.browser.FindChildEx(
["ObjectType", "Caption"],
["Dialog", "Downloads"],
10,
true,
60000
);
The above code returns an empty object, no response.
I also attempted to use the following code snippets:
var test = Aliases.browser.Dialog("Downloads").Pane(0);
var test1 = Aliases.browser.Dialog("Downloads");
Use the above snippets, I am also not able to properly target it.
Is there anyone that might be able to assist me with how to properly target an "Downloads" window?