Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Way to set page properties before page.open() called #95

Open
gadicc opened this Issue · 0 comments

1 participant

@gadicc

Use case: I need to set page.customHeaders before the page is opened. Even with c78bae6 (expose page by lalomartins), unfortunately it's still too late.

I think the obvious place is maybe a 3rd options parameter to test(), which could maybe include something like phantomjs: { page: { customHeaders: { a: 1 } } or something, or I guess, looking ahead, a way to provide some of these features in a client-connect neutral way (I'll add now to https://hackpad.com/The-New-Laika-ISvx59CC2ba).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.