How to capture ScreenShot for Winium + Katalon Studio

Thank you. Just tried for UWP window application on 07-22-2022 with Katalon version - 8.4.0, & it work perfectly. this is my code any one can run this.

import com.kms.katalon.core.configuration.RunConfiguration

String screenshotLocation = RunConfiguration.getProjectDir()+ “/test.png”
WindowsActionHelper.create(WindowsDriverFactory.getWindowsSession()).takeScreenshot(screenshotLocation)