Current time: 02-25-2021, 04:38 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webpagetest Scripting
05-30-2015, 06:18 AM
Post: #1
Webpagetest Scripting
I find the scripting is not able to complete some actions.

For example, for clicking the href link, the webpagetest script is not able to perform the action if there is no id, name or title associated. To be specific:
in, a link of "Office supplies" is shown in source code like this:

<li><a href='/b/ref=s9_acss_gw_ct_B2BGenBu_ct1_a1?_encoding=UTF8&node=1069242&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=desktop-2&pf_rd_r=0W3W05N8HWPW4CBRVVWV&pf_rd_t=36701&pf_rd_p=2084861362&pf_rd_i=b2b-desktop'>Office Supplies</a></li>

I know selenium use link=Office Supplies to identify the click, but in webpagetest, how to specify this? Is there any way to accomplish this?

Moreover, is there anyway to convert the selenium script to webpagetest script? If not, how we can enable selenium on our private instances? Can you give some hint?

Find all posts by this user
Quote this message in a reply
06-04-2015, 05:53 PM (This post was last modified: 06-04-2015 05:54 PM by andydavies.)
Post: #2
RE: Webpagetest Scripting
You could use the exec or execAndWait with some JS to click the link i.e. find the DOM node then issue .click() against it.

DevTools is great for checking the JS in first


Using WebPageTest -
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

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