driver.findElement(By.cssSelector("#login-form .password")).sendKeys(userPassword);// Submitting the login pagedriver.findElement(By.cssSelector("#login-form .submit")).click();// Waiting till user profile page is shownfunctionpageIsLoaded(){returndriver.findElement(By.id("user-profile"))...
Galen Framework originally was planned as UI testing tool which is not dependent on CSS and HTML. The use ofcssspecs breaks the original purpose and it was introduced only because of high demand from users. Use thiscssspec rarely and wisely. Centered If you want to check that the element i...