TagUI help 20220419 How to download a file when click is inaccessible via xpath? Use keyboard [cmd]s
Channel: Open Source Physics Singapore / Tracker / TagUI
Date: 2022-04-19

TagUI help 20220419 How to download a file when click is inaccessible via xpath? Use keyboard [cmd]s

https://youtu.be/QRwZYAw-HkY

https://divulgacione14.registraduria.gov.co/descargae14
select selectCorp as CAMARA
//echo `selectCorp`
select selectDepto as 26
//echo `selectDepto`
select selectMpio as 001
select selectZona as ZONA 001
select selectPto as 01
//echo `selectPto`
click btnConsultarE14
//echo `btnConsultarE14`
click //*[@id="cargaE14"]/div[1]/div/div[2]/table/tbody/tr[1]/td[1]/button

// How download pdf
// Mac has ability to save via keyboard shortcuts
keyboard [cmd]s
// do similar step for windows
keyboard [ctrl]s
//click //*[@id="icon"]/iron-icon
wait 3 // to allow download to finish