Support > Forums > OpenBots Studio > Selenium Create Browser - Showing Error

Selenium Create Browser - Showing Error

Hina Azhar

  • Reporter
  • Calender Icon May 08,2023 at 2:46 PM

Dear Team,

Kindly, help in using the Selenium :

05/08/23 05:34:41.962 | Error | Error Occurred at Line 16: Selenium Create Browser [Engine 'Edge' - URL '"https://www.mastercardconnect.com/"' - New Instance Name 'vMasterCardBrowser'] - [Source: 'C:\Users_openbots\Documents\OpenBots Studio\OB Scripts\AcquirerMerchantTransactionRPO\Main.obscript', Type: 'InvalidOperationException', Message: 'session not created: This version of Microsoft Edge WebDriver only supports Microsoft Edge version 102 Current browser version is 113.0.1774.35 with binary path C:\Users_openbots\AppData\Local\Microsoft\Edge\Application\msedge.exe (SessionNotCreated)']

Regards, Hina Azhar

This forum has 317 topics, 688 replies, and was last updated 5 hours ago by Sainath S

Nataly Alvarado...

  • Participant
  • Calender Icon May 08,2023 at 6:10 PM

Hi hina.azhar,

​Please note that this error indicates a discrepancy in the Edge ​version installed in your machine and the Edge driver dependency referenced by Studio. Note that Selenium requires the driver versions to match. ​ Please follow this guide to update the driver (guide is targeted for Chrome browser, but similar steps can be followed for Edge): https://openbots.ai/updating-chrome-webdriver-for-openbots-studio/ ​ ​ Also, note that for most use cases, we recommend using the Native Browser commands over Selenium, as the product team will continue to build and improve on the Native Browser commands for web interaction. It is not on our current pipeline to update the Selenium commands (unless a feature request is submitted). ​ Since the Native Browser commands communicate through the OpenBots extension, it opens more opportunities to our development team to build on top of these commands and add more support. Most of the features within Selenium are also present in Native Browser, except for the commands exclusive to Selenium like Execute Script and Switch Browser Frame. Moreover, Native Browser commands provide more tab functionality like the ability to open, activate, close and refresh a tab. As well as the ability to attach to an existing web session, indicate manual or simulated interaction, send keys to a specific field.

Thanks!

You are not authorized to reply, please click here to login and add your reply to this topic.