$.udb.benchmark.playback()
This article is under construction.
$.udb.benchmark.playback()
This function exposes the Web benchmark playback engine API.
The $.udb.benchmark.rec object exposes Web benchmark recording engine. Unlike $.udb.benchmark.rec , this object is of type function instead of an object type.
actions: {..}
Description | All recordable actions in Web Benchmark are processed via this object during playback. The following actions are accessed as functions with the action being passed as parameter: - |
Example |
|
clear: *ƒ ()*
Description | Clears the profile actions, events and logs of the $.udb.benchmark.perf object. |
execute: *ƒ (singleAction)*
Description | Called as soon as the play event is triggered. |
Option |
|
finish: *ƒ (testId, skip)*
Description | Called as soon as the last |
Example |
|
getSelectorString: ƒ (rec)
Description |
|
Example |
|
highlight: ƒ ($el)
Description |
|
Example |
|
next: ƒ (singleAction)
Description |
|
Example |
|
play: ƒ (singleAction)
Description |
|
Example |
|
startTest: ƒ (singleAction)
Description |
|
Example |
|
testWaitConditions: ƒ (rec, singleAction)
Description |
|
Example |
|
trimMessage: ƒ (msg)
Description | Utility function. |
Example |
|
waitForTest: ƒ (singleAction)
Description |
|
Example |
|