Hello,
To let user access to a specific web site in the background, we use IE11 as below. I'd like do same thing with Edge as IE11 will reach end of support, however, Edge seems not support ComObject.
How should I change them ?
$InternetExplorer = New-Object -comobject 'InternetExplorer.Application'
$InternetExplorer.navigate("<URL>")
$InternetExplorer.Visible = $true
Run Edge and Hide the browser
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 4
- Last visit: Fri Mar 15, 2024 2:40 am
- Has voted: 1 time
Re: Run Edge and Hide the browser
You will need to post in an Edge forum as it is not doable using any of IE methods. Edge has a sort of API but I think Microsoft dropped hiding for security reasons.
Post in teh Edge Developer Forum as they should know.
Post in teh Edge Developer Forum as they should know.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
-
- Posts: 4
- Last visit: Fri Mar 15, 2024 2:40 am
- Has voted: 1 time
Re: Run Edge and Hide the browser
Alexander Riedel wrote: ↑Wed Sep 08, 2021 12:56 pm You say you want to hide it, but you set visible to true...
sorry, I copied wrong one. $false is correct one.
-
- Posts: 4
- Last visit: Fri Mar 15, 2024 2:40 am
- Has voted: 1 time