Can I automate Silverlight with PowerShell? I want to control Silverlight, click buttons, etc.
Similar to automation with IExplorer:
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Navigate("http://www.stackoverflow.com")
$ie.Document.getElementById("ButtonID")|foreach{
$_.Click()
}
source
share