MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Problems with scripting on Netlfix website

WebPagetest Forums

Full Version: Problems with scripting on Netlfix website
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I'm trying to run a scripted test in Netflix Brazil with a logged user but the script doesn't run correctly.

navigate https://www.netflix.com/br/Login
exec document.querySelector('input[name="email"]').value = "name";
exec document.querySelector('input[name="password"]').value = "password";
execAndWait document.querySelector('button[class="btn login-button btn-submit btn-small"]').click();
navigate https://www.netflix.com/title/70195800


The main problem is in execAnWait line where WTP doesn´t even reach to click the button.

Anybody has any idea what it could be the issue?, because I have already tried everything, even every line of the script in Chrome Dev tools in Console section and the only thing that doesn´t work is button's sentence.

Thanks
Reference URL's