class Snapshot

Stores a snapshot of the stack trace at the time this instance was created. The stack trace will always be adjusted to exclude this function call.

new Snapshot(opt_slice)

Parameters
opt_slicenumber=

The number of frames to remove from the top of the generated stack trace.

Instance Methods

getStacktrace()code ยป

Returns
Array<webdriver.stacktrace.Frame>

The parsed stack trace.