java.lang.RuntimeException: Error making screenshot

GitHub | gtpvkr | 4 months ago
  1. 0

    GitHub comment 332#235959675

    GitHub | 4 months ago | gtpvkr
    java.lang.RuntimeException: Error making screenshot
  2. 0

    org.openqa.selenium.remote.SessionNotFoundException for ChromDriver

    Stack Overflow | 2 years ago | Shantanu Nandan
    org.openqa.selenium.remote.SessionNotFoundException: no such session (Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 128 milliseconds Build info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:30' System info: host: 'Admin-PC', ip: '10.0.0.6', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_31' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, chrome= {userDataDir=C:\Users\Admin\AppData\Local\Temp\scoped_dir4568_27180}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, version=41.0.2272.76, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 0fcb3e702dd1c8a23261b902625df216
  3. 0

    How to capture SessionNotFoundException thrown by webdriver because of appium session timeout

    Stack Overflow | 4 months ago | Vaibhav
    org.openqa.selenium.remote.SessionNotFoundException: no such session (Driver info: chromedriver=2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129),platform=Windows NT 10.0.10586 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 753 milliseconds Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58' System info: host: 'Pune832', ip: '10.10.148.44', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_60' Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={chromedriverVersion=2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129)}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=true, version=52.0.2743.98, platform=ANDROID, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 5ff4eaccea1df145b80f6df4af4c3d7b *** Element info: {Using=xpath, value=//div[@id='form-1010']}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using edge browser in Selenium grid

    GitHub | 7 months ago | BartVanRaemdonck
    org.openqa.selenium.remote.RemoteWebDriver
  6. 0

    GitHub comment 120#258809029

    GitHub | 1 month ago | KumarNellore
    org.openqa.selenium.remote.SessionNotFoundException: no such session (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Windows NT 6.3 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 73 milliseconds Build info: version: '2.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26' System info: host: 'PRINHYLTPDL0554', ip: '169.254.185.20', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_73' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=520320e9e8797321, platform=LINUX, deviceUDID=520320e9e8797321, desired={platformVersion=6.0.1, browserName=chrome, takesScreenshot=true, platformName=Android, deviceName=Android}, platformVersion=6.0.1, webStorageEnabled=false, locationContextEnabled=false, takesScreenshot=true, browserName=chrome, javascriptEnabled=true, platformName=Android}] Session ID: 719137fd-9ba5-41e2-bd18-0fd4284da513

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.openqa.selenium.remote.SessionNotFoundException

      no such session (Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a),platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 4.00 seconds Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44' System info: host: 'E1422F1L', ip: '10.229.161.185', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31' Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=33.0.0.0, platform=ANDROID, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 4eedb113762fa7c0e682e916fd059317

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    3. Selenium
      RemoteWebDriver.getScreenshotAs
      1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
      2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:164)
      3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)
      4. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:618)
      5. org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:320)
      5 frames
    4. com.galenframework.utils
      GalenUtils.takeScreenshot
      1. com.galenframework.utils.GalenUtils.takeScreenshot(GalenUtils.java:300)
      1 frame
    5. com.galenframework.browser
      SeleniumBrowser.createScreenshot
      1. com.galenframework.browser.SeleniumBrowser.makeSimpleScreenshot(SeleniumBrowser.java:101)
      2. com.galenframework.browser.SeleniumBrowser.createScreenshot(SeleniumBrowser.java:94)
      2 frames
    6. com.galenframework.page
      SeleniumPage.createScreenshot
      1. com.galenframework.page.selenium.SeleniumPage.createScreenshot(SeleniumPage.java:171)
      1 frame
    7. com.galenframework.api
      Galen.checkLayout
      1. com.galenframework.api.Galen.checkLayoutForPage(Galen.java:104)
      2. com.galenframework.api.Galen.checkLayout(Galen.java:90)
      3. com.galenframework.api.Galen.checkLayout(Galen.java:73)
      4. com.galenframework.api.Galen.checkLayout(Galen.java:63)
      5. com.galenframework.api.Galen.checkLayout(Galen.java:158)
      6. com.galenframework.api.Galen.checkLayout(Galen.java:132)
      6 frames
    8. com.galenframework.java
      WelcomePageTest.DriverScript
      1. com.galenframework.java.sample.tests.WelcomePageTest.DriverScript(WelcomePageTest.java:31)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    10. TestNG
      RemoteTestNG.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      7. org.testng.TestRunner.privateRun(TestRunner.java:767)
      8. org.testng.TestRunner.run(TestRunner.java:617)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:240)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
      17. org.testng.TestNG.run(TestNG.java:1030)
      18. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:115)
      19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:207)
      20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:178)
      20 frames