Skip to content

skornev/phantomjsbinary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

phantomjsbinary

phantomjs binary with download Linux phantomjs binary for Debain 7 with download support. OnLoadFinished still says "fail", but download file should appear in the current directory.

sudo apt-get install libicu48 libfontconfig1 libjpeg8 libpng12-0

Js Example

page.onFilePicker = function(oldFile)
{
    console.log('onFilePicker(' + oldFile + ') called');
    return 'InvoiceReport.pdf';
}
page.onDownloadFinished = function(status)
{
    console.log('onDownloadFinished(' + status + ')');
    phantom.exit(1);
}
page.onLoadFinished = function(status)
{
    console.log('onLoadFinished(' + status + ')');
}

About

phantomjs binary with download

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published