Search code examples
javaselenium-webdriverserenity-bddselenium-iedriver

How to control selection of Internet Explorer Driver 32bit from Serenity BDD


Currently I have IEDriver 32 and 64 bit executable files in m system path. When I initiate tests from Serenity BDD it automatically selects 64bit version. Can I control this selection using any specific property?


Solution

  • Create a serenity.properties file in the Serenity root dir. Then add these below:

    webdriver.driver=ie
    webdriver.ie.driver=path to 32/64 bit IE Driver exe
    

    This should fix your issues.