Don't check for xpath if css selector is set
Merge pull request #1367 from Eye4web/webdriver-selector-fix

Don't check for xpath if css selector is set