specific custom path of firefox for executing the automation

89 views Asked by At

I am using "SeleniumLibrary" in robot framework . I installed two version of firefox in my machine . I would like to use the specific custom path of firefox for executing the automation .Please help me out to sort out this issue as earlier as possible

1

There are 1 answers

0
Sam Maksymyshyn On BEST ANSWER

You can use Create webdriver keyword with options like that:

Create webdriver   Firefox     firefox_binary=C:\\Program Files\\Mozilla Firefox2\\firefox.exe    executable_path=C:\\opt\\webdrivers2\\geckodriver.exe

Tested on:

  • robotframework-seleniumlibrary==6.0.0
  • selenium==4.1.5