Methods
# matchElement(input, arr)
Simple function to found one element in an array
Parameters:
Name | Type | Description |
---|---|---|
input |
string
|
Element to found. |
arr |
array
|
Array of strings |
# takeElementScreenShot(el, color)
Take Widget ScreenShot
Parameters:
Name | Type | Description |
---|---|---|
el |
object
|
Dom element for the screenshot |
color |
string
|
Property for widget background before capture |