MRAJ Posted July 14, 2021 Share Posted July 14, 2021 Hello, I am using WD UDF edge browser for my websites. Currently i am using below scripts to take the screenshot, but the screenshot is browser headless and no full window with background. Sometimes my websites will load slow in that scenario, screenshot is white page and not able to find what is the reason behind this. Is there any way to take the full window with browser head which will show me loading of my page I tried with below but they are taking not full window screesnhot: $sResponse = _WD_Window($sSession, 'screenshot') $bDecode = _Base64Decode($sResponse) $sDecode = BinaryToString($bDecode) $hFileOpen = FileOpen("Screen2.png") FileWrite($hFileOpen, $sDecode) FileClose($hFileOpen) and $ScreenShot = _WD_Screenshot($sSession) $FileName = "test.jpg" $FilePath = FileOpen("path" & $FileName, 18) FileWrite($FilePath, $ScreenShot) FileClose($FilePath) . Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now