Sahi Pro supports Microsoft’s new Chromium-powered Edge browser

Published on 16th September 2019 blog, Product update, Test automation, Updates

Microsoft has been rebuilding its Edge browser on Chromium. Both Microsoft and Google engineers have been working together to improve the underlying Chromium project so that Chrome and Edge browsers run better on Windows. Microsoft has been testing versions of their all-new Chromium powered Edge browser internally and is about to release it publicly soon.The beta version is available currently on their website-

https://www.microsoftedgeinsider.com/en-us/download/

So, if you are a test engineer and are looking at beginning to test on this all-new browser, Sahi Pro brings relief to you with automatic support for the Microsoft’s Chromium Edge browser.

As you know, Sahi Pro already supports web automation in all browsers like Chrome, Firefox, Internet Explorer, Safari, Opera, etc.

https://sahipro.com/docs/introduction/index.html#Supported%20Features%20and%20Technologies

To work with Chromium Edge browser with Sahi Pro, all you need to do is make the configurations in the Sahi browser types settings.

Steps:

  • Open Sahi Dashboard
  • Go to Configure
  • Go to XML
  • Here, Add the following snippet for MS Chromium Edge browser configurations

 

<browserType>

               <name>MS_Chromium_Edge</name> 

                <displayName>MS Edge</displayName>

                <icon>edgeinside.png</icon>

                <path>C:\Program Files (x86)\Microsoft\Edge Dev\Application\msedge.exe</path> 

                <options>–no-default-browser-check –user-data-dir=$userDir\browser\edge\profiles\sahi$threadNo –proxy-server=127.0.0.1:$port </options> 

                <processName>msedge.exe</processName>

                <useSystemProxy>false</useSystemProxy>

                <capacity>5</capacity> 

       </browserType>

 


  • Save and restart Sahi.

You will now see the Chromium Edge button on the Sahi Pro dashboard on restart. Click it to launch the browser – just like any other browser window.

From here on, you can go ahead and perform all normal Sahi scripting operations like-

  • Launch Sahi Controller
  • Begin recording
  • Perform actions on the website
  • Control + hover on any element to identify it
  • Stop recording and just Playback the script

You will see that all elements and screens are easily identified, and the script runs normally on the Browser.  You can also run scripts parallelly with multiple instances of the browser!

So, Sahi supports the all-new MS Chromium Edge browser without any special changes.

Also, check out the video tutorial for making these configuration settings at

https://www.youtube.com/watch?v=0tYu8MaZTlw&feature=youtu.be

 

Please contact support@sahipro.com for any questions!