(w, h)
| 135 | } |
| 136 | |
| 137 | function forSizeToBe(w, h) { |
| 138 | return async function () { |
| 139 | let { width, height } = await driver.manage().window().getRect() |
| 140 | return width === w && height === h |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | function forPositionToBe(x, y) { |
| 145 | return async function () { |
no test coverage detected