fix(element): fix WebElement.$ using the incorrect By object

Closes #852