docs(bench press): Added link to Chromedriver bug for reference
Closes #1923
This commit is contained in:
parent
9fbb3adbe2
commit
0e04467b8a
@ -38,8 +38,8 @@ export class ChromeDriverExtension extends WebDriverExtension {
|
|||||||
|
|
||||||
// See [Chrome Trace Event Format](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit)
|
// See [Chrome Trace Event Format](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit)
|
||||||
readPerfLog() {
|
readPerfLog() {
|
||||||
// TODO(tbosch): Bug in ChromeDriver: Need to execute at least one command
|
// TODO(tbosch): Chromedriver bug https://code.google.com/p/chromedriver/issues/detail?id=1098
|
||||||
// so that the browser logs can be read out!
|
// Need to execute at least one command so that the browser logs can be read out!
|
||||||
return this._driver.executeScript('1+1')
|
return this._driver.executeScript('1+1')
|
||||||
.then( (_) => this._driver.logs('performance') )
|
.then( (_) => this._driver.logs('performance') )
|
||||||
.then( (entries) => {
|
.then( (entries) => {
|
||||||
@ -154,4 +154,4 @@ var _BINDINGS = [
|
|||||||
(driver) => new ChromeDriverExtension(driver),
|
(driver) => new ChromeDriverExtension(driver),
|
||||||
[WebDriverAdapter]
|
[WebDriverAdapter]
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user