1.0.1 • Published 2 years ago
findelements v1.0.1
Find Elements in the DOM with these Helper Functions
Usage
findElement(tagName)
findElementWithText(tagName, textToSearch)
Examples
findElement('a')
// returns an array of all <a> tags in the DOM
findElementWithText('button', 'Order Now')
// returns an array of all buttons that include the text Order Now