Current time: 03-06-2021, 06:16 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
I'm trying to run a scripted test in Netflix Brazil with a logged user but the script doesn't run correctly.

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();

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.

Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

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