Have a screen shot taken of a certain page in a specific time interval and stored on same server

StackOverflow https://stackoverflow.com/questions/20590543

  •  01-09-2022
  •  | 
  •  

문제

I currently have a php script which displays real time information and is updated whenever the page is refreshed ( it is automatically refreshed every 30 minutes ). Is there a php script or something server side which will have it screen shot the updated page and store it on the server?

I am using the latest version of apache on a Linux Centos Server.

Regards,

John

도움이 되었습니까?

해결책

Selenium has PHP bindings and can take a screenshot. It's very powerful but also requires some setup effort. Selenium uses an actual web browser to do its work, so the screenshot will accurately reflect HTML5 and other types of dynamic content.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top