Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a screenshot fo an element in webview #51

Open
0xCTF opened this issue Jul 23, 2019 · 5 comments
Open

Get a screenshot fo an element in webview #51

0xCTF opened this issue Jul 23, 2019 · 5 comments

Comments

@0xCTF
Copy link

0xCTF commented Jul 23, 2019

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
Copy link
Author

0xCTF commented Jul 23, 2019

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 !

@evgenyneu
Copy link
Owner

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

@0xCTF
Copy link
Author

0xCTF commented Jul 23, 2019

@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

@evgenyneu
Copy link
Owner

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

@0xCTF
Copy link
Author

0xCTF commented Jul 24, 2019

no problem, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants