I want to automate to check that a file completely downloads or not in chrome driver or not. HTML of each entry in downloads list looks like
<a is="action-link" id="file-link" tabindex="0" role="link" href="http://fileSource" class="">DownloadedFile#1</a>
So I have used the following code:
driver.get('chrome://downloads/')
This returns empty list but there are 3 new downloads.
As I found out, only parent elements of #shadow-root (open) tag can be handled. How can I find elements inside this #shadow-root element?