$(selector [, startNode])
returns the reference to the first DOM element with the specified CSS selector. This command is equivalent to calling document.querySelector()
.$$(selector [, startNode])
returns an array of elements that match the given CSS selector. This command is equivalent to calling document.querySelectorAll()
.