This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict"; | |
| var maxWaitTimeoutMs = 5000; // 5secs | |
| var webdriver = require('selenium-webdriver'); | |
| var flow = webdriver.promise.controlFlow(); | |
| /** | |
| * Custom Jasmine matcher builder that waits for an element to have | |
| * or not have an html class. | |
| * @param {String} expectation The html class name |
OlderNewer