johntitus / node-horseman

Run PhantomJS from Node
MIT License
1.45k stars 124 forks source link

Inspecting raw web request #282

Closed emarthinsen closed 7 years ago

emarthinsen commented 7 years ago

Is it possible to inspect the raw web request that is generated on an open or click call? I created an event handler for resourceRequested, but it doesn't show the cookies that will be sent and it only shows a partial list of the headers that will be sent.

awlayton commented 7 years ago

I do not know of a way to see any more than what you get with onResourceRequested. If that is not what you need, you will have to look into PhantomJS specific things.

Closing since this is not a horseman specific thing.