lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Apr 12, 2011 at 12:21 PM, Michal Kottman <k0mpjut0r@gmail.com> wrote:
On Tue, 2011-04-12 at 16:38 +0200, Bertrand Mansion wrote:

> I'd love to see a tutorial on how to take a webpage screenshot using
> lqt. It seems that QPainter + QWebview could be useful for that but I
> didn't try yet, Qt doc is big...

require 'qtcore'
require 'qtgui'
require 'qtwebkit'




This seems to be really useful for headless browser testing. Something similar to what Phantom.js is doing.