WebDriverException: Message: 'geckodriver' executable needs to be in PATH

Hi robocorp Teams

I am facing an issue while using open browser keyword

when i executes this, it throws an error like this

Why so @erno
@osrjv

any reasons ?

Thanks and Regards
Nived N

Hi Nived,

Could you try with Open Available Browser instead?

*** Keywords ***
Open Browser for robertsspaceindustries
   Open Available Browser  https://robertsspaceindustries.com/
   
*** Tasks ***
Open Application
   Open Browser for robertsspaceindustries
3 Likes

Hi jeevith

Sure thanks for your reply

But I am thinking there is some technical issue I think so

@Nived_Nambiar error comes from missing driver for Firefox, as it shown in the error log geckodriver executable needs to be in PATH.

The Open Browser keywords expects that user will manage webdrivers themselves (it comes from upstream SeleniumLibrary package).

We have implemented Open Available Browser keyword which will automatically manage webdrivers so that user does not need to. So I will recommend using this keyword
.

3 Likes

Hi @mika @Jeevith

Thanks you so much guys for the good explanation

Regards

Nived N :robot::robot:

2 Likes