Table of Contents

Class BrowseTheWebExtensions

Namespace
CSF.Screenplay.Selenium
Assembly
CSF.Screenplay.Selenium.dll

Extension methods for the BrowseTheWeb ability.

public static class BrowseTheWebExtensions
Inheritance
BrowseTheWebExtensions
Inherited Members

Methods

GetJavaScriptExecutor(BrowseTheWeb)

Gets a JavaScript executor object based upon the current WebDriver.

public static IJavaScriptExecutor GetJavaScriptExecutor(this BrowseTheWeb ability)

Parameters

ability BrowseTheWeb

Returns

IJavaScriptExecutor

A JavaScript executor object

Exceptions

NotSupportedException

If the current web driver does not support JavaScript execution.