EdgeStart


 

EdgeStart>session_id

 

Creates a Microsoft Edge session and returns the session id.

 

Use the EDGEDRIVER_EXE directive to specify the path to MSEdgeDriver or MicrosoftWebDriver. Optionally set the port number with EDGEDRIVER_PORT.


 

Important


 

The Edge functions require Microsoft's MSEdgeDriver or MicrosoftWebDriver to be installed, depending on which version of Edge you have. For details and download links see:

https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/


 

Newer versions of Edge require MSEdgeDriver.  Legacy versions require MicrosoftWebDriver.


 

To find out which version of Edge you are using click on the three dots at the top right of Edge (...) and then Settings or Settings and More. If you are running the newer version you will then see an "About Microsoft Edge" option. The version number will be there. If running a legacy version scroll down to the bottom of Settings to see the version number.


 

If running the legacy version (18, or 19) you can install MicrosoftWebDriver by running the following command from an elevated (run as admin) command prompt:


 

DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0


 

If using a newer version of Edge (80+) be sure to install the correct version of MSEdgeDriver for your version of Windows (x86 or x64).


 

See also: Edge Functions

 

Example

 

Let>EDGEDRIVER_EXE=c:\msedgedriver.exe


 

//start a Edge session

EdgeStart>session_id


 

//navigate to google.com

EdgeNavigate>session_id,url,https://www.google.com/