Guest User

Untitled

a guest
Jan 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. /**
  2. * Known element location strategies. The returned objects have two
  3. * methods on them, "single" and "many", for locating a single element
  4. * or multiple elements, respectively.
  5. *
  6. * @private
  7. * @const
  8. * @type {Object.<string,bot.locators.strategy>}
  9. */
  10. bot.locators.STRATEGIES_ = {
  11. 'className': bot.locators.className,
  12. 'class name': bot.locators.className,
  13.  
  14. 'css': bot.locators.css,
  15. 'css selector': bot.locators.css,
  16.  
  17. 'id': bot.locators.id,
  18.  
  19. 'linkText': bot.locators.linkText,
  20. 'link text': bot.locators.linkText,
  21.  
  22. 'name': bot.locators.name,
  23.  
  24. 'partialLinkText': bot.locators.partialLinkText,
  25. 'partial link text': bot.locators.partialLinkText,
  26.  
  27. 'tagName': bot.locators.tagName,
  28. 'tag name': bot.locators.tagName,
  29.  
  30. 'xpath': bot.locators.xpath
  31. };
Add Comment
Please, Sign In to add comment