sdfdsf
This commit is contained in:
@@ -22,7 +22,10 @@ class NavigateService {
|
|||||||
return this._getDriver(params)
|
return this._getDriver(params)
|
||||||
.then(driver => {
|
.then(driver => {
|
||||||
return driver.get(params.uri).then(() => driver.findElement(By.css('body'))
|
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