new Helpers()
- Source:
Methods
(async, static) authenticate(page, pass, user) → (non-null) {Promise.<void>}
Performs login action and navigates to next site.
Parameters:
Name | Type | Description |
---|---|---|
page |
||
pass |
string | password |
user |
string | username |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) getStatusData(page) → (non-null) {Promise.<SunnyData>}
Retrieves data from status page
Parameters:
Name | Type | Description |
---|---|---|
page |
- Source:
Returns:
data object
- Type
- Promise.<SunnyData>
(async, static) navigateToStatusPage() → (non-null) {Promise.<void>}
navigates from logged in start page to current status
- Source:
Returns:
- Type
- Promise.<void>