Cant add webdriver path to PATH variable, need alternative

Hello there,
I am completely new to Robot Framework and have started taking first steps to learn the same.
Now I want to run my first automated test using SeleniumLibrary and Edge Browser. Is it compulsory to add C:\bin to PATH (for msedgedriver) as I do not have access to PATH variable as it requires admin permission.

Is there any alternative to this? can I simply point to the directory through any command where my ‘msedgedriver’ is kept and run the test?

Yes, there is the executable_path argument which can be used to set the path to the drivers. See the “Open Browser” keyword documentation for more information.

1 Like