Skip to content Skip to sidebar Skip to footer

Can't Locate Specific Elements Using Python Selenium And Shadowroot.queryselector()

I'm trying to get all the content under Signers, Counter Signers and X509 Signers from https://www.virustotal.com/gui/file/03d1316407796b32c03f17f819cca5bede2b0504ecdb7ba3b845c1ed6

Solution 1:

If you want the microsoft time

elem=driver.execute_script("return document.querySelector('file-view').shadowRoot.querySelector('vt-ui-file-details').shadowRoot.querySelector('vt-ui-signature-info').shadowRoot.querySelector('vt-ui-expandable-detail.signer-info').querySelector('span').querySelector('vt-ui-key-val-table').shadowRoot.querySelector('div.row').querySelector('div.value').querySelector('div > div > div:nth-child(1) > div > a:nth-child(2)')")
print(elem.get_attribute('textContent'))

Post a Comment for "Can't Locate Specific Elements Using Python Selenium And Shadowroot.queryselector()"