dsdf
This commit is contained in:
@@ -32,9 +32,9 @@ class NavigateService {
|
||||
await username.sendKeys(params.key.username)
|
||||
await password.sendKeys(params.key.password)
|
||||
// logger.info({ currentUrl: await driver.getCurrentUrl(), sessionId: await driver.getSession() }, 'aaaaa')
|
||||
return submit.click()
|
||||
// return submit.click()
|
||||
// WebElement
|
||||
// return driver.findElement(By.css('body'))
|
||||
return submit.click().then(() => driver.findElement(By.css('body')))
|
||||
}).then(async body => {
|
||||
return body.getAttribute('innerHTML')
|
||||
return { currentUrl: await driver.getCurrentUrl(), sessionId: await driver.getSession() }
|
||||
|
||||
Reference in New Issue
Block a user