org.openqa.selenium.WebDriverException: unknown error: setLocale is not defined (Session info: chrome=48.0.2564.116) (Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Linux 3.16.0-62-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 17 milliseconds Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39' System info: host: 'buddhika-Latitude-E5550', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.16.0-62-generic', java.version: '1.8.0_74' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/tmp/.com.google.Chrome.grgBcr}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=48.0.2564.116, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: fab20fff809b5280bec32bcf1176a1eb

Stack Overflow | achwan | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I'm getting the following error time to time when I run the test suite? Any idea about how to fix this?

    Stack Overflow | 6 months ago | achwan
    org.openqa.selenium.WebDriverException: unknown error: setLocale is not defined (Session info: chrome=48.0.2564.116) (Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Linux 3.16.0-62-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 17 milliseconds Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39' System info: host: 'buddhika-Latitude-E5550', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.16.0-62-generic', java.version: '1.8.0_74' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/tmp/.com.google.Chrome.grgBcr}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=48.0.2564.116, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: fab20fff809b5280bec32bcf1176a1eb
  2. 0

    changing <select> does not fire onChange event - Microsoft Edge Development

    microsoft.com | 6 months ago
    org.openqa.selenium.WebDriverException: Object expected (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 21 milliseconds Build info: version: '2.53.0’, revision: '35ae25b1534ae328c771e0856c93e187490ca824’, time: ‘2016-03-15 10:43:46’ System info: host: 'DESKTOP-NUENS0Q’, ip: '192.168.230.128’, os.name: 'Windows 8.1’, os.arch: 'x86’, os.version: '6.3’, java.version: ‘1.7.0_79’ Session ID: F268CEA3-B2D0-447C-9172-03AA92B3CCA8 Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities [{platformVersion=10, platform=ANY, acceptSslCerts=true, browserVersion=25.10586.0.0, platformName=windows, browserName=MicrosoftEdge, takesElementScreenshot=true, takesScreenshot=true, pageLoadStrategy=eager}]
  3. 0

    Fetching using Firefox is broken when entries are added using User Timing (or maybe specific impl)

    GitHub | 3 years ago | soulgalore
    net.browsertime.tool.timingrunner.TimingRunnerException: Error while running Selenium.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.openqa.selenium.WebDriverException

    unknown error: setLocale is not defined (Session info: chrome=48.0.2564.116) (Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Linux 3.16.0-62-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 17 milliseconds Build info: version: '2.49.0', revision: '365eeb44deba2067b1761c8862ef21d55250e063', time: '2016-01-13 11:57:39' System info: host: 'buddhika-Latitude-E5550', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.16.0-62-generic', java.version: '1.8.0_74' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/tmp/.com.google.Chrome.grgBcr}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=48.0.2564.116, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: fab20fff809b5280bec32bcf1176a1eb

    at org.openqa.selenium.remote.ErrorHandler.createThrowable()
  2. Selenium
    RemoteWebDriver.executeScript
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    4. org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:577)
    4 frames
  3. Geb Core
    JavascriptInterface.propertyMissing
    1. geb.js.JavascriptInterface.execjs(JavascriptInterface.groovy:41)
    2. geb.js.JavascriptInterface.propertyMissing(JavascriptInterface.groovy:45)
    2 frames
  4. com.potest.modules
    LanguageModule.changeToDefault
    1. com.potest.modules.LanguageModule.changeTo(LanguageModule.groovy:26)
    2. com.potest.modules.LanguageModule.changeToDefault(LanguageModule.groovy:14)
    2 frames
  5. Geb Core
    TemplateDerivedPageContent.methodMissing
    1. geb.content.TemplateDerivedPageContent.methodMissing(TemplateDerivedPageContent.groovy:128)
    1 frame
  6. com.potest.pages
    LoginPage.login
    1. com.potest.pages.start.LoginPage.login(LoginPage.groovy:33)
    1 frame
  7. Geb Core
    Browser.methodMissing
    1. geb.Browser.methodMissing(Browser.groovy:207)
    1 frame
  8. Geb for Spock
    GebSpec.methodMissing
    1. geb.spock.GebSpec.methodMissing(GebSpec.groovy:56)
    1 frame