Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.
This repository was archived by the owner on Jul 5, 2025. It is now read-only.

TrifleJs in Windows Server #59

Open
@vintagenub

Description

@vintagenub

Hello, I'm a beginner on this and i'm trying to run trifleJs on Windows Server 2008 SP2,
here's my code;

C:> TrifleJS.exe --emulate=IE8 download_data.js

download_data.js :

var page1 = require('webpage').create(),
pag1 = 'http://10.192.XX.XX:8888/Ingenieria/logiN.do',
dat1 = 'user=myuser&pass=mypass';

page1.open(pag1, 'post', dat1);
page1.onLoadFinished = function(){
page1.evaluate(function(){
document.getElementById('frmPantalla').src='http://10.192.XX.XX:8888/Ingenieria/showScreen.do?action=doit';
document.getElementById('msj').style.display = "none";
document.getElementById('background').style.display = "none";
";

});

window.setTimeout(function () {
      page1.render('./prueba.png');
      phantom.exit();
}, 60000);

};

And i'm not getting anything.
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions