Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Using MS-Edge to replace IE11

$
0
0

I has been using Powershell 5 to work and manage webpages by something like below. Because IE seems being out of date. I am wondering if I can use MS-Edge instead. Does new version of Powershell has abilities to do that? Thanks

$ie = New-Object -com "InternetExplorer.Application"
$ie.Top = 1
$ie.Left = 3840
$ie.Width = 900
$ie.Height = 900
$ie.visible = $true

$ie.Navigate("https://www.google.com")

$a = $ie.document.getElementsByTagName('a')


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>