# org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken

**URL:** <https://forum.katalon.com/t/org-openqa-selenium-remote-screenshotexception-screen-shot-has-been-taken/61230>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [December 30, 2021, 8:13am UTC](https://forum.katalon.com/t/org-openqa-selenium-remote-screenshotexception-screen-shot-has-been-taken/61230 "2021-12-30T08:13:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabah.ansari](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/sabah.ansari/32/16104_2.png) [@sabah.ansari](https://forum.katalon.com/u/sabah.ansari)\
**Post date:** [December 30, 2021, 8:13am UTC](https://forum.katalon.com/t/org-openqa-selenium-remote-screenshotexception-screen-shot-has-been-taken/61230/1 "2021-12-30T08:13:02Z")

</div>

I am using MacBook Air with iOS device in Katalon when recording or spy getting screenshot exception.  
error logs:

org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken  
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’  
System info: host: ‘……’, os.name: ‘Mac OS X’, os.arch: ‘x86\_64’, os.version: ‘10.16’, java.version: ‘1.8.0\_275’  
Driver info: io.appium.java\_client.ios.IOSDriver  
Capabilities {automationName: XCUITest, browserName: , bundleId: com.kmb.enterprisepushmobile, chromedriverPort: 50105, databaseEnabled: false, deviceName: iPhone 13, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: false, newCommandTimeout: 1800, platform: MAC, platformName: iOS, platformVersion: 15.2, realDeviceLogger: /Applications/Katalon Studi…, takesScreenshot: true, udid: …. waitForAppScript: true;, wdaLocalPort: 50109, webStorageEnabled: false}  
Session ID: c0f8fe8f-7cd2-454c-8cc4-3b9d9fe0a8f4  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)  
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)  
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)  
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)  
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)  
at io.appium.java\_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)  
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)  
at io.appium.java\_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46)  
at io.appium.java\_client.AppiumDriver.execute(AppiumDriver.java:1)  
at io.appium.java\_client.ios.IOSDriver.execute(IOSDriver.java:1)  
at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295)  
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.captureScreenshot(MobileInspectorController.java:355)  
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileObjectSpyDialog$6.captureImage(MobileObjectSpyDialog.java:610)  
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileObjectSpyDialog$6.run(MobileObjectSpyDialog.java:570)  
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
