It seems that your xPath locators (for login/username) are the reason of failure. Try using following CSS locators.. Username css=div.group .