Google Chrome - Get raw image ?
Posted: Sat Mar 22, 2014 7:49 pm
Hi,
How to get raw image (byte[] or base64 string) from dom element ? (C# WebElement.GetRawImage() ?? )
I found some methods:
- WebElement.CaptureCompressedImage(): not a good solution, i need raw image size and byte.
- Get image scr from img tag and get image with html get: no, i want to get loaded image (some website not response or change image (captcha) if request image 2 time)
- Exec javascript - > set image to clipboard -> get image from clipboard (hard, i use multichrome will be confusion)
- Create google chrome extension same as ranorex (very hard for me)
Please help me!
Thanks!
Sorry for my bad english.
How to get raw image (byte[] or base64 string) from dom element ? (C# WebElement.GetRawImage() ?? )
I found some methods:
- WebElement.CaptureCompressedImage(): not a good solution, i need raw image size and byte.
- Get image scr from img tag and get image with html get: no, i want to get loaded image (some website not response or change image (captcha) if request image 2 time)
- Exec javascript - > set image to clipboard -> get image from clipboard (hard, i use multichrome will be confusion)
- Create google chrome extension same as ranorex (very hard for me)
Please help me!
Thanks!
Sorry for my bad english.