Current time: 12-15-2017, 08:51 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with scripting on Netlfix website
11-10-2016, 11:17 PM
Post: #1
Problems with scripting on Netlfix website
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)