Have the same issue both for Firefox Gecko driver and Chromedriver. Appears because of merging options with sCaps:
mDriver = new FirefoxDriver(new FirefoxOptions(sCaps)); mDriver = new ChromeDriver(new ChromeOptions().merge(sCaps));
Have the same issue both for Firefox Gecko driver and Chromedriver. Appears because of merging options with sCaps: