Current time: 09-24-2020, 09:38 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script not executing or stopping too early
09-25-2016, 12:22 AM
Post: #2
RE: Script not executing or stopping too early
To ask the really dumb question…

Does this line work when you try it in DevTools?

Code:
document.querySelector('ha-flow-step[stepid="step0"] .ha-button-primary').click();

Also if you capture the response bodies, is that element in there (I came across a problem with another site where the WPT agent was getting a slightly different page to the one I tested against in my browser)

No idea on #2, I've not seen that happen before - might test it with one of my scripts

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Script not executing or stopping too early - andydavies - 09-25-2016 12:22 AM

Forum Jump:


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