Alessandro Portale
32701e9bba
Avoid crash with post-exit page loading.
...
If the javascript calls phantom.exit(), and afterwards
phantom.open(), if may happen that the open() triggers a
loadFinished() signal happens after Phantom was destroyed.
Result: Crash in Phantom::finish().
Workaround: Disconnect from loadFinished() when exit() is
called.
2011-01-09 22:16:28 +01:00
Ariya Hidayat
5b9d091585
Recognize PDF in phantom.render function.
2011-01-01 20:18:39 -08:00
Ariya Hidayat
3a0d0886b6
Provide an API to get PhantomJS version.
2011-01-01 08:29:03 -08:00
Ariya Hidayat
04cc4193ca
Change phantom.storage to phantom.state.
2010-12-31 22:09:02 -08:00
Ariya Hidayat
6979a02837
JavaScript alert() prints the message to stdout.
2010-12-31 20:23:55 -08:00
Ariya Hidayat
24d433ea13
Remove phantom.log, just use the de-facto console.log for logging.
2010-12-31 20:10:34 -08:00
Ariya Hidayat
37d67f0395
Readd the render() function to render the web page to an image.
2010-12-31 17:07:25 -08:00
Ariya Hidayat
ad252166d7
Flattened frame and invisible scroll bars are better in headless.
2010-12-31 09:20:19 -08:00
Ariya Hidayat
069cf546f6
New property 'viewportSize' to read and modify the viewport size.
2010-12-31 09:11:02 -08:00
Ariya Hidayat
570eee099e
Remove unused declarations.
2010-12-31 08:50:55 -08:00
Ariya Hidayat
a580dcfaa2
Remove unfinished (and thus, useless) support for Web Inspector.
2010-12-30 00:12:24 -08:00
Ariya Hidayat
88d6794065
Start with an empty but sensible document.body object.
2010-12-28 00:05:50 -08:00
Alessandro Portale
243dc0f82c
Console output on Windows
2010-12-28 00:50:58 +01:00
Alessandro Portale
bb355db6c4
Use the timer based exit.
...
Was caught in exec(). Apparently, on Windows an exit()
cannot be scheduled before exec was called. Since
a timer based exit was already implemented, use that.
2010-12-28 00:50:58 +01:00
Ariya Hidayat
03297410cd
Attach the icon the application main widget.
2010-12-26 23:56:44 -08:00
Ariya Hidayat
f0deb971a0
Import the old, working prototype.
2010-12-26 20:15:19 -08:00