as I said in my message “getScreenshotAsync” doesnt work properly…
I solved my code problems.
But “getScreenshotAsync” doesnt work so ı take same screenshots from all of my code output…
when I change “getScreenshot” with “getScreenshotAsync” API doesnt take screenshot…
That is only I wish to learn… why “getScreenshotAsync” there is something
“getScreenshotAsync(data1, data2)” domesting like that ?
at last : I wanna learn “getScreenshotAsync” detailed informtion about that for now…
I am member for more than 1 year, at begining I ask much question to learn and I learn a lot from your team thanks…for 10 months I dnever ask anything maybe but now I need something like those…
I checked your example. The script can not work like this, because getScreenshotAsync returns a promise. Please read this: Using Promises - JavaScript | MDN
In the script you are using the promise returned by getScreenshotAsync as the src of an image. That can not work, you need to use the result of the promise instead.