joelgriffith / navalia

A bullet-proof, fast, and reliable headless browser API
https://joelgriffith.github.io/navalia/
GNU General Public License v3.0
961 stars 32 forks source link

Need to set local storage values #68

Open nspessotCD opened 6 years ago

nspessotCD commented 6 years ago

I have to set some local storage values to chrome and use auth0 or oauth2 authentication, is there a way to have auth support oauth2? or to set local storage values before doing chrome.goto(url)?

lkyles777 commented 6 years ago

May not be the right solution but for setting localStorage, would chrome.evaluate() to run some JavaScript in the environment (https://joelgriffith.github.io/navalia/Chrome/evaluate/) help?