Z
Z
zorghrd2013-11-30 23:29:11
User interface
zorghrd, 2013-11-30 23:29:11

How to take a screenshot of a div element?

There is a site domain2.org, with sections domain2.org/news and domain2.org/trash.
These are external domains and are read-only.
There is a domain.com domain (debian + nginx + php-fpm), I would like to make it so that when accessing domain.com/get?type, the client would be given a screenshot of one div'a (id is the same) from different pages, while type indicates either news or trash.
Webmasters, help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Opaspap, 2013-12-01
@zogrhrd

If everything is so brutal, then phantomjs habrahabr.ru/post/116789/ will help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question