Вопрос

I would like to create a service, that provides a screenshot of this site, which uses heavy dhtml and is really slow on slower computers, especially on Firefox.

It would be perfect, if that screenshot would be actualized every few minutes, so I could implement it into our Website with an automatic refresh.

On Windows I could use the php-function imagegrabscreen. But that would take the screenshot without the loaded AJAX elements.

How could I delay the Screenshot until all AJAX data is loaded?

Это было полезно?

Решение

I found a Web-solution:

You can use browsershots.org and choose a reasonable modern browser and windowsize.

It also has an API: https://browshot.com/api/documentation

You can specify any size for the thumbnail.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top