Turned throw 'expect called with WebElement argument' into console.log warning