Class NamedScriptBasis
- Namespace
- CSF.Screenplay.Selenium
- Assembly
- CSF.Screenplay.Selenium.dll
A basis class for named scripts, not for use in applications of Screenplay.
public abstract class NamedScriptBasis : IHasName
- Inheritance
-
NamedScriptBasis
- Implements
- Derived
- Inherited Members
Constructors
NamedScriptBasis(string, string)
Initialises a new instance of NamedScriptBasis
protected NamedScriptBasis(string scriptBody, string name)
Parameters
Exceptions
- ArgumentException
If either parameter is null or whitespace-only.
Properties
Name
Gets a human-readable name for this script, as would be displayed in a report.
public string Name { get; }
Property Value
ScriptBody
Gets the body of the JavaScript.
public string ScriptBody { get; }