hhhh
This commit is contained in:
@@ -30,7 +30,7 @@ class NavigateService {
|
|||||||
// return driver.findElement(By.css('body'))
|
// return driver.findElement(By.css('body'))
|
||||||
}).then(body => {
|
}).then(body => {
|
||||||
// return body.getAttribute('innerHTML')
|
// return body.getAttribute('innerHTML')
|
||||||
return JSON.stringify({ currentUrl: driver.getCurrentUrl(), sessionId: driver.getSession() })
|
return JSON.stringify((async() => ({ currentUrl: await driver.getCurrentUrl(), sessionId: await driver.getSession() }))())
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user