browsermob-node icon indicating copy to clipboard operation
browsermob-node copied to clipboard

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

Open jkwohlfahrt opened this issue 8 years ago • 1 comments

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?

jkwohlfahrt avatar Mar 03 '17 20:03 jkwohlfahrt

@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
        }...

jfkhoury avatar Mar 14 '17 17:03 jfkhoury