Powershell open a URL, fill a value and submit
I would like to open a link "www.google.com"
fill a text in textbox
and then submit
$ie = New-Object -ComObject 'InternetExplorer.Application'
$ie.Visible=$true
$ie.Navigate("www.google.com")
$ie.Document.getElementsById('textbox').value='hi'
Q: (i can not get the textbox object to fill the text, and so on submit)
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more