import {LastScriptExecution} from '@serenity-js/webdriverio/lib/screenplay/questions'
public class | source

LastScriptExecution

Returns the result of last script executed via ExecuteScript

Static Method Summary

Static Public Methods
public static

Enables asserting on the result of a function executed via ExecuteScript.

Static Public Methods

public static result(): Question<R> source

Enables asserting on the result of a function executed via ExecuteScript.

Returns:

Question<R>