Dear,
I'm trying to automate a click on a javascript form result of the call below and would like any hint that might help me in the solution.
$IE= New-Object -ComObject "InternetExplorer.Application"
$IE.Navigate2("http://xxxxxxx.cxcxcxcxc.com.br/login")
while ($IE.Busy) {Start-Sleep -Milliseconds 2000}
$IE.Visible=$true
$IE.FullScreen=$true
$IE.Document.getElementById("user_session_email").value="user@xxxxxxxx.xxx.xx"
$IE.Document.getElementById("user_session_password").value="xxxxxxxxxxxx"
$Click=$IE.Document.getElementsByTagName("button") | Where-Object {$_.type -eq 'submit'}
$Click.click();
while ($IE.Busy) {Start-Sleep -Milliseconds 5000}
$IE.Document.getElementById("button_begin_period_one").click();