Scripting: Struggling with selecting DOM elements
|
01-08-2021, 12:42 AM
Post: #1
|
|||
|
|||
Scripting: Struggling with selecting DOM elements
Hello everyone!
I'm loving WebPageTest, and I'm trying to use it with the parts of our site that need authentication. I'm trying to use scripting and DOM interactions to log into our site https://github.com/WPO-Foundation/webpag...d#setvalue But I'm really struggling. For example, even with the basic script below, the images captured by the test show that no text whatsoever have been entered in the username and password fields (I've attached a screenshot). ``` logData 1 navigate https://www.kooth.com/login setValue name=username someName setValue name=password somePW submitForm name=login ``` Can anyone see what I might be doing wrong? Or is DOM manipulation unreliable? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Scripting: Struggling with selecting DOM elements - jfhector - 01-08-2021 12:42 AM
RE: Scripting: Struggling with selecting DOM elements - pmeenan - 01-08-2021, 01:54 AM
RE: Scripting: Struggling with selecting DOM elements - jfhector - 01-08-2021, 03:20 AM
|
User(s) browsing this thread: 1 Guest(s)