Class GetTheBrowserLogsBuilder
- Namespace
- CSF.Screenplay.Selenium.Builders
- Assembly
- CSF.Screenplay.Selenium.dll
Builder class for creating an instance of GetTheBrowserLogs.
public class GetTheBrowserLogsBuilder : IGetsPerformableWithResult<IReadOnlyList<BrowserLog>>
- Inheritance
-
GetTheBrowserLogsBuilder
- Implements
- Inherited Members
Remarks
Primarily, this is concerned with whether the constructed task should throw or silently return an empty collection, should retrieving logs be unsupported by the current WebDriver.
Methods
ButReturnEmptyLogsIfUnsupported()
Gets a GetTheBrowserLogs task. The task will be configured such that - if no viable technique for getting logs is available - it will return an empty collection instead of throwing.
public GetTheBrowserLogs ButReturnEmptyLogsIfUnsupported()
Returns
- GetTheBrowserLogs
A performable task