MS Edge : Browsing through command line

%3CLINGO-SUB%20id%3D%22lingo-sub-1564901%22%20slang%3D%22en-US%22%3EMS%20Edge%20%3A%20Browsing%20through%20command%20line%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1564901%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20want%20to%20do%20browsing%20through%20command%20line%20using%20edge.%26nbsp%3B%20I%20need%20something%20like%20Curl%20command.%20From%20script%20I%20want%20to%20open%20Edge%2C%20go%20to%20microsoft.com%2C%20and%20collect%20the%20html%20returned.%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20it%20works%20with%20PowerShell%20script%20it%20is%20great.%20Python%20also%20is%20fine.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20the%20best%20option.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EIshwar%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1564901%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ecommand%20line%20browsing%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EEdge%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

Hi,

I want to do browsing through command line using edge.  I need something like Curl command. From script I want to open Edge, go to microsoft.com, and collect the html returned. 

If it works with PowerShell script it is great. Python also is fine. 

 

Please let me know the best option.

 

Thanks

Ishwar

1 Reply
Highlighted

If there is windows API to invoke Edge to  open URL, thats also fine. I have issue with selenium web driver. Since Edge versions are changing too fast, it does not provide version-independent method.