Error trying to test a page that requires authentication on chrome mobile
|
12-16-2014, 03:32 AM
Post: #1
|
|||
|
|||
Error trying to test a page that requires authentication on chrome mobile
Hey guys, first post! I'm having an error trying to test a page that requires authentication on chrome mobile. It only happens when I try to do the test on mobile. In other browsers (at least the ones that I've tried) is working fine. I set the url, on the auth menu i set the user and password and I got this error:
WPT script contains unsupported line[1]: navigate "mypagewitauthenticationmypagewitauthentication.com --- support is limited to: setDnsName H1 H2\n [overrideHost H1 H3]\n navigate H4 I've tried to script it but I got the same result: Code: navigate mypagewitauthenticationmypagewitauthentication.com setHeader('Authorization','Basic ' + EncodingUtil.base64Encode('myusername' + ':' + 'mypassword')) Result: The test failed to run. WPT script contains unsupported line[0]: navigate mypagewitauthenticationmypagewitauthentication.com --- support is limited to: setDnsName H1 H2\n [overrideHost H1 H3]\n navigate H4 Anyone have any idea of what's going on? Thanks!!!! |
|||
12-16-2014, 06:32 AM
Post: #2
|
|||
|
|||
RE: Error trying to test a page that requires authentication on chrome mobile
The mobile agents don't support scripting (and under the covers auth uses a script to set the headers). The only way (currently) to do it would be to use desktop chrome with mobile emulation enabled (in the chrome tab of advanced settings).
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)