zzo / browsermob-node

Javascript bindings for browsermob-proxy
MIT License
81 stars 33 forks source link

When using casper example, har file generates, but doesn't contain any entries #26

Open jkwohlfahrt opened 7 years ago

jkwohlfahrt commented 7 years ago

When I tested the casper example, the yahoo har file generates, but doesn't contain any requests entries. Is there any known issue with this example?

jfkhoury commented 7 years ago

@jkwohlfahrt Try passing an object as first argument to cbHAR in bin/runCasper.js, and setting those props to true:

        cbHAR({
            name: // YOUR URL,
            captureContent: true,
            captureHeaders: true,
            captureBinaryContent: true
        }...