(locator)
| 4589 | } |
| 4590 | |
| 4591 | function isFrameLocator(locator) { |
| 4592 | locator = new Locator(locator) |
| 4593 | if (locator.isFrame()) { |
| 4594 | return locator.value |
| 4595 | } |
| 4596 | return false |
| 4597 | } |
| 4598 | |
| 4599 | function assertElementExists(res, locator, prefix, suffix) { |
| 4600 | // if element text is an empty string, just exit this check |