confess icon indicating copy to clipboard operation
confess copied to clipboard

suport for login

Open aadrian opened this issue 11 years ago • 1 comments

Would be nice if 'confess.js' would have support for login. Many "pages" that need a performance analyze are behind a login (e.g. after login and redirect to a new page)

Thanks in advance.

aadrian avatar Feb 07 '13 09:02 aadrian

You would have to provide a little snippet of js to handle the login form and other details I believe because it can be so different for each site.

An easy thing which I added in 1 line patch was http authentication support by simply adding this right before page.open:

page.customHeaders = {'Authorization':'Basic '+btoa('user:pass')};

Obviously 'user:pass' above is a place holder that you would want to fill in..

Adding support for this in the command line arguments would be a very simple patch...

chino avatar Jun 07 '13 06:06 chino