A
A
Andrzej Wielski2015-10-08 02:06:29
HTML
Andrzej Wielski, 2015-10-08 02:06:29

How to render HTML/CSS/JS on the server?

Good day.
There is a goal - to check on the server side the results of two html + css + js codes for the similarity of the final result (visually).
What are the best goals for this?
There was an idea to write a handler with chromium in java, upload images using canvas, and then compare - but this is hemorrhoids.
Maybe there are ready-made solutions, or at least libraries for rendering pages?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2015-10-08
@wielski

phantomjs (or its derivatives) can take screenshots.
or selenium, can also take screenshots.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question