js-evaluator-for-android icon indicating copy to clipboard operation
js-evaluator-for-android copied to clipboard

Get a screenshot fo an element in webview

Open 0xCTF opened this issue 5 years ago • 5 comments

Hi, Is it possible to get a screenshot of an element which is a captcha from a webview in android ?

if yes, how can i do that please

Thanks

0xCTF avatar Jul 23 '19 12:07 0xCTF

there html2canvas js library, but i don't know how to use it, i spend many days looking for that without success The captcha outerhtml from the website is

<img src="/ORegMx/capito.png" alt="capito"> Hope someone can help !

0xCTF avatar Jul 23 '19 12:07 0xCTF

@0xCTF, I think you might get help if you ask this question on stackoverflow.com. :)

evgenyneu avatar Jul 23 '19 23:07 evgenyneu

@evgenyneu thank you for your reply,

i asked this question in many ways more than 10 times without answer, https://stackoverflow.com/questions/57032155/is-theres-a-way-to-get-a-screenshot-of-a-captcha-in-webview https://stackoverflow.com/questions/57029398/how-to-use-html2canvas-in-android-in-order-to-take-a-screenshot-of-an-element-in https://stackoverflow.com/questions/56820583/how-i-can-get-an-element-image-from-a-webview https://stackoverflow.com/questions/56814159/take-a-screenshot-of-an-element-in-a-loaded-webview-android and more in a deleted account

i think the js-evaluator-for-android can use javascript lib in android studio in order to to take a screenshot from a webview but i don't know how to do it

0xCTF avatar Jul 23 '19 23:07 0xCTF

Oh sorry, you have already asked on SO. Yeah, it's a very interesting question, but I have no idea. :)

evgenyneu avatar Jul 23 '19 23:07 evgenyneu

no problem, thank you

0xCTF avatar Jul 24 '19 00:07 0xCTF