Closed vpachpute062 closed 2 years ago
Are you sure that this file exists? "src/test/resources/webdriver/linux/geckodriver". Otherwise delete the drivers section and let WebDriverManager download the right driver.
Hi @wakaleo Thanks for your suggestion. Yes, geckodriver binary exists at this location. Issue has been resolved. Might be an issue with compatibility. Earlier my firefox version was 96.0 and geckodriver version was geckodriver-v0.30.0-linux64 Later I downgraded firefox version 95.0.1 and with same geckodriver version (i.e.geckodriver-v0.30.0-linux64), it worked out.
Hello Team
I have downloaded serenity framework from https://github.com/serenity-bdd/serenity-cucumber-starter
I am able to run on chrome perfectly. But when I change browser to firefox, it's giving me error as below.
Below is my serenity.conf file
headless.mode = false
serenity { take.screenshots = FOR_FAILURES } #
Chrome options can be defined using the chrome.switches property
# chrome.switches = """--start-maximized;--test-type;--no-sandbox;--ignore-certificate-errors; --disable-popup-blocking;--disable-default-apps;--disable-extensions-file-access-check; --incognito;--disable-infobars,--disable-gpu"""
drivers { windows { webdriver.gecko.driver = src/test/resources/webdriver/windows/chromedriver.exe } mac { webdriver.gecko.driver = src/test/resources/webdriver/mac/chromedriver } linux { webdriver.gecko.driver = src/test/resources/webdriver/linux/geckodriver } }
gecko.firefox.options=""" { "args": ["-headless", "-profile", "/path/to/my/profile"], "prefs": { "dom.ipc.processCount": 8 }, "log": { "level": "trace" } } """