Methods
createFileName(extension, parts)
creates name of file
Parameters:
Name | Type | Description |
---|---|---|
extension |
string | |
parts |
Array.<string> | of file name |
useScreenshot() → {HookReturn}
hook for creating screenshot from html node
Returns:
- Type
- HookReturn
Type Definitions
HookReturn
Type:
- Array
Properties:
Name | Type | Description |
---|---|---|
HookReturn[0 |
string | image string |
HookReturn[1 |
string | take screen shot string |
HookReturn[2 |
object | errors |