I'm not sure why I cannot view the image file that I've screenshot using Selenium in Eclipse workspace. But if I copy and paste the link in the PC File Explorer, the file do exist. My problem now is i cannot view the image directly in the Eclipse apps. It appear as "Cross" icon only, no images shown. Is there any configuration i need to setup? Thanks.
Asked
Active
Viewed 162 times
1
-
Is this a valid JPG file? Can you view the JPG with another program? If yes, please add the image to your question. – howlger Feb 26 '21 at 09:54
-
Yes i can view the jpg with Photos app (desktop default app). i've added the image in the question – emeraldgold07 Mar 01 '21 at 02:03
-
Can you also view the image with the Internet Explorer? – howlger Mar 01 '21 at 06:47
1 Answers
0
I'm not sure about your exact setup, but I suspect that you are somehow not closing the file when you write the screenshot to the folder. Of course that assumes that you are generating a screenshot with your program.

theolaa
- 21
- 2