new Element.element object works like WebDriver.element, task testPhantom executes tests in phantomjs browser