Current time: 11-26-2020, 03:44 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ClickAndWait not waiting long enough
01-26-2016, 03:37 AM
Post: #3
RE: ClickAndWait not waiting long enough
(01-25-2016 12:48 PM)rviscomi Wrote:  Check out this post I submitted to the perf calendar last month: http://calendar.perfplanet.com/2015/usin...ntication/

Try setting the authentication cookie and navigating to the dashboard page directly in the script. It's two lines and you don't need to worry about WPT waiting for the page to load.

Thanks. This would be my preferred route to go. But this is legacy code and so much backend processing and setting of session occurs on that click. I would like to see if it is possible for me to get measurements without refactoring the code.

I saw there was numerous end conditions. Anyone know if they would be accurate in my case?

requiredRequest
setActivityTimeout
waitForComplete
waitForJSDone
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ClickAndWait not waiting long enough - DLee - 01-26-2016 03:37 AM

Forum Jump:


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