sdfdsf
This commit is contained in:
@@ -22,7 +22,10 @@ class NavigateService {
|
||||
return this._getDriver(params)
|
||||
.then(driver => {
|
||||
return driver.get(params.uri).then(() => driver.findElement(By.css('body'))
|
||||
.then(body => body.getAttribute('innerHTML')))
|
||||
.then(body => {
|
||||
console.log(body)
|
||||
return body.getAttribute('innerHTML')
|
||||
}))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user