This commit is contained in:
brow3c
2021-05-18 10:40:24 +09:00
parent 90ee654452
commit 5be15dcb2f

View File

@@ -36,7 +36,7 @@ class NavigateService {
// WebElement // WebElement
// return driver.findElement(By.css('body')) // return driver.findElement(By.css('body'))
}).then(async body => { }).then(async body => {
// return body.getAttribute('innerHTML') return body.getAttribute('innerHTML')
return { currentUrl: await driver.getCurrentUrl(), sessionId: await driver.getSession() } return { currentUrl: await driver.getCurrentUrl(), sessionId: await driver.getSession() }
}) })
}) })