Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Known element location strategies. The returned objects have two
- * methods on them, "single" and "many", for locating a single element
- * or multiple elements, respectively.
- *
- * @private
- * @const
- * @type {Object.<string,bot.locators.strategy>}
- */
- bot.locators.STRATEGIES_ = {
- 'className': bot.locators.className,
- 'class name': bot.locators.className,
- 'css': bot.locators.css,
- 'css selector': bot.locators.css,
- 'id': bot.locators.id,
- 'linkText': bot.locators.linkText,
- 'link text': bot.locators.linkText,
- 'name': bot.locators.name,
- 'partialLinkText': bot.locators.partialLinkText,
- 'partial link text': bot.locators.partialLinkText,
- 'tagName': bot.locators.tagName,
- 'tag name': bot.locators.tagName,
- 'xpath': bot.locators.xpath
- };
Add Comment
Please, Sign In to add comment