This commit is contained in:
brow3c
2021-05-18 10:49:53 +09:00
parent 116e3e5878
commit eacfb5ebf0

View File

@@ -19,7 +19,7 @@ class NavigateService {
}
page(params) {
return this._getDriver(params).then(driver => driver.findElement(By.css('body')).then(body => body.getAttribute('innerHTML')))
return this._getDriver(params).then(driver => driver.get(params.uri)).then(() => driver.findElement(By.css('body')).then(body => body.getAttribute('innerHTML')))
}
login(params) {