2017-04-21 45 views

回答

0

查找代碼登錄到https://app.crossbrowsertesting.com通過硒3.x中,最新的Chrome司機&谷歌瀏覽器58.x通過有效的憑據:

driver.navigate().to("https://app.crossbrowsertesting.com"); 
    driver.findElement(By.id("inputEmail")).sendKeys("[email protected]"); 
    driver.findElement(By.id("inputPassword")).sendKeys("your_password"); 
    driver.findElement(By.xpath("//button[text()='Log In']")).click(); 

讓我知道如果這能幫助你。

+0

@vijay你有沒有試過這個解決方案? – DebanjanB