You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running on windows with serenity-gradle-plugin:2.3.5 and serenityCoreVersion=2.3.5
Running this example I am getting Could not instantiate class org.openqa.selenium.chrome.ChromeDriver.
Took a little digging but it looks like the error is related to the below line not being valid json
Caused by:
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 1 column 76 path $.
at com.google.gson.Gson.fromJson(Gson.java:947)
at com.google.gson.Gson.fromJson(Gson.java:897)
at com.google.gson.Gson.fromJson(Gson.java:846)
at com.google.gson.Gson.fromJson(Gson.java:817)
at net.thucydides.core.webdriver.CapabilityValue.asMap(CapabilityValue.java:54)
at net.thucydides.core.webdriver.CapabilityValue.asObject(CapabilityValue.java:24)
at net.thucydides.core.webdriver.capabilities.ChromePreferences.from(ChromePreferences.java:41)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverCapabilities.addPreferencesTo(ChromeDriverCapabilities.java:136)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverCapabilities.configuredOptions(ChromeDriverCapabilities.java:65)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverCapabilities.getCapabilities(ChromeDriverCapabilities.java:42)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverProvider.enhancedCapabilitiesConfiguredIn(ChromeDriverProvider.java:78)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverProvider.newInstance(ChromeDriverProvider.java:49)
The text was updated successfully, but these errors were encountered:
Hello,
Running on windows with serenity-gradle-plugin:2.3.5 and serenityCoreVersion=2.3.5
Running this example I am getting Could not instantiate class org.openqa.selenium.chrome.ChromeDriver.
Took a little digging but it looks like the error is related to the below line not being valid json
download: "{prompt_for_download: false,directory_upgrade: true,default_directory:'${user.dir}/downloaded-files'}"
Caused by:
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 1 column 76 path $.
at com.google.gson.Gson.fromJson(Gson.java:947)
at com.google.gson.Gson.fromJson(Gson.java:897)
at com.google.gson.Gson.fromJson(Gson.java:846)
at com.google.gson.Gson.fromJson(Gson.java:817)
at net.thucydides.core.webdriver.CapabilityValue.asMap(CapabilityValue.java:54)
at net.thucydides.core.webdriver.CapabilityValue.asObject(CapabilityValue.java:24)
at net.thucydides.core.webdriver.capabilities.ChromePreferences.from(ChromePreferences.java:41)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverCapabilities.addPreferencesTo(ChromeDriverCapabilities.java:136)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverCapabilities.configuredOptions(ChromeDriverCapabilities.java:65)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverCapabilities.getCapabilities(ChromeDriverCapabilities.java:42)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverProvider.enhancedCapabilitiesConfiguredIn(ChromeDriverProvider.java:78)
at net.serenitybdd.core.webdriver.driverproviders.ChromeDriverProvider.newInstance(ChromeDriverProvider.java:49)
The text was updated successfully, but these errors were encountered: