THE FORUM IS IN READ-ONLY MODE
Screenshot img with selenium
-
How to screenshot whats inside the <img> tag.
I tried xpath copying the xpath aswell as use img as a tag and neither worked.
Thanks for any help
-
I think it would be easier to just parse the src using LR and call the same URL in the captcha block to download it and solve it
-
I tried doing that but by the time the captcha is solved a new one seems to be generated.
I figured with selenium I am able to screenshot whats currently on the page and have it solved all in the same.
I hope that makes sense
http://crd2.life/
That is the site in case anyone wants to check out the captcha and see what I am talking about
-
Just tried this and it works perfectly. Sometimes the captcha won't load at all though
site problem
BROWSERACTION Open NAVIGATE "https://crd2.life/" ELEMENTACTION Tag "img" Screenshot
-
https://i.imgur.com/IWxZb6u.png
So does that mean that the captcha is just not loading?
I tried a few times and it doesnt screenshot anything?
Is it screenshotting properly for you after a couple tries?