Edge Browser not launched

Hi Forum,
I am getting the below error while launching browser Edge

Error :
ValueError: Function has keyword-only parameters or annotations, use getfullargspec() API which can support them

My Script:
*** Settings ***
Library SeleniumLibrary

*** Test Cases ***
TC
Open Browser https://www.google.com edge

Environment:
selenium=4.1.3
robotframework=4.1.3
robotframework-seleniumlibrary==4.0.0

Hi,

Open the browser with Edge works fine here.

Open the Browser with Edge | PASS |

PLAYGROUND03 | PASS |
1 test, 1 passed, 0 failed

*** Test Cases ***
Open the Browser with Edge
SeleniumLibrary.open browser https://www.google.com edge

selenium=4.1.3
robotframework=5.0
robotframework-seleniumlibrary==6.0.0

Hi Akshay,

First check which version of edge you have on your computer, then check the version of the edge selenium driver, generally the selenium driver for your browser need to match or be very close to the version number of your browser. as an example selenium driver for chrome that has a version 97 wont work with a chrome browser that has a version 98. I have seen a lot of weird errors that were caused by version mismatches between the browser and the selenium driver.

Dave.