-1
Good morning,
By accessing the following link :
"https://www.nfe.fazenda.gov.br/portal/downloadNFe.aspx?tipoConsulta=completa&tipoConteudo=XbSeqxE8pl8=&a=mOEyESJIJwMoSf9GhwkJRg7glhHoU0omjiV+4HmZZHwvpF4c9ivAFcAF04DQk1fb"
The site automatically calls the screen for digital certificate selection.
Once the certificate has been confirmed, it downloads a file, without having to click any later button...
I needed to do this in the background on my client’s machine that has this certificate..
Soon I am looking for a way to pass the certificate X509 (A1 or A3 with the password) for the request so that the site already goes straight to the file download, and I can get it in the programming via c#
I already tried with Webbrowser ( I did not identify a way to pass the certificate to the request in webbrowser)
I also tried via POST ( Which I believe is the wrong way, since it is not a webservice, but a site that automatically responds to the choice of certificate)
Seeking a light...
Note: I have tried with SELENIUM, but this way would have to have interaction on the screen, and everything has to happen in the background on the machine of the client that has the certificate.
Thank you.
If you need any more details you can ask me. Your file will be available for download or will be saved in some directory ?
– Luciano Oiticica Lemgruber