()
| 268 | executor.on(CommandName.FIND_ELEMENTS, () => []) |
| 269 | |
| 270 | function expectedFailure() { |
| 271 | fail('expected condition to timeout') |
| 272 | } |
| 273 | |
| 274 | return driver.wait(until.elementLocated(locator), 100).then(expectedFailure, function (error) { |
| 275 | var expected = 'Waiting for element to be located ' + locatorStr |