fixed eMessage crap
This commit is contained in:
parent
e786715ab3
commit
2814584831
1 changed files with 5 additions and 3 deletions
|
@ -43,12 +43,14 @@ class eMessagePuppeteerConnectorBase extends Connector {
|
|||
this.connectorRegistry.reportState(msg, UUID, 'puppettering')
|
||||
const page = await browser.newPage()
|
||||
await page.goto('https://ruf.emessage.de/')
|
||||
|
||||
await sleep(1e3)
|
||||
await page.reload()
|
||||
|
||||
const pagerNumberInput = 'input[formcontrolname="eID"]'
|
||||
await page.waitForSelector(pagerNumberInput)
|
||||
await page.type(pagerNumberInput, identifier)
|
||||
await sleep(1e3)
|
||||
|
||||
|
||||
const validatePagerNumberButton = 'form > div:nth-child(2) > button:nth-child(1)'
|
||||
await page.waitForSelector(validatePagerNumberButton)
|
||||
await page.click(validatePagerNumberButton)
|
||||
|
@ -163,4 +165,4 @@ module.exports = {
|
|||
eMessagePuppeteerConnectorBase,
|
||||
eMessagePuppeteerConnectorCityruf,
|
||||
eMessagePuppeteerConnectorTwoWays
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue