Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why don't show flash in my screenshots? #3

Open
NabiKAZ opened this issue May 22, 2018 · 0 comments
Open

Why don't show flash in my screenshots? #3

NabiKAZ opened this issue May 22, 2018 · 0 comments

Comments

@NabiKAZ
Copy link

NabiKAZ commented May 22, 2018

Why don't show flash in my screenshots?

var webPage = require('webpage');
var flash = require('./flash');
var page = webPage.create();

page.onInitialized = function () {
    console.log('Flash successfully faked: ' + flash(page));
};

page.open('http://condor.depaul.edu/sjost/hci430/flash-examples/Examples1/Examples1.htm', function (status) {
    setTimeout(function () {
        page.render('test_flash.png');
        phantom.exit();
    }, 5000);
});
> phantomjs test_flash.js
Flash successfully faked: true
Flash successfully faked: true
Flash successfully faked: true

test_flash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant