Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Can't send data from PhantomJS to any callback under NodeJS process context  #202

@evegorov

Description

@evegorov

I can register a callbacks onPageCreated / newPage.onCallback and then use window.callPhantom() to transfer some data from Phantom's javascript page to karma.config.js but a callback functions onCallback (the same for onPageCreated) are called in context of PhantomJS and can not access e.g. to file system.

The task is to create another callback e.g. onBrowserLogNodeContext which can be called on stdout 'data' events by NodeJS parent process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions