[Selenium] Add Nodes for Download History and Download Finish Condition

Hi @qqilihq,

using the List FIles/Folders node to get a list of downloaded files can be a problem if the download didn’t finished. Do you see a chance in providing dedicated nodes to get the status of the downloads and incorprating that into the condition nodes too?

Btw, I see a workaround navigating to “chrome://downloads/” but interacting with the shadow DOM is stricky for starters.

PS: I plan to publish a quick article with a read to use solution thanks to your excellence guidance in

Addendum: I just tried this on a simple example (here via this): You’ll want to select the shadow DOM container using Find Elements, and then use an Execute JavaScript node with the following code: // pass the shadow dom container as argument (WebElement cell) const shadowDomContainer = arguments[0]; // use your selector to match the element within the dom const element = shadowDomContainer.shadowRoot.querySelector('.info'); // result will be the retrieved WebElement return element; Hope t…

Best

Mike