1

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.

image file directory in package explorer

Cannot view image

exact image viewed in pc app (photos)

emeraldgold07
  • 173
  • 3
  • 14

1 Answers1

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