登錄錯誤與下面的代碼登錄錯誤:與下面一塊代碼
System.setProperty("webdriver.gecko.driver", "C:\Users\Rocket\Downloads\setups\geckodriver.exe");
WebDriver driver = new FirefoxDriver();
driver.get("https://www.gmail.com");
driver.findElement(By.xpath("//input[@type='email']")).sendKeys("[email protected]");
driver.findElement(By.xpath("//*[@id='identifierNext']/div[2]")).click();
driver.findElement(By.xpath("//input[@type='password']")).sendKeys("Ihate");
你得到的錯誤是什麼?請詳細說明 – Alok
@AnoopBhargava您能否考慮以下幾點:1.適當地設置代碼的格式以進行正確的分析。 2.提供相關的HTML DOM。 3.研究SO志願者提出的答案。 4.在問題區域更新您當前的代碼和錯誤堆棧跟蹤。謝謝 – DebanjanB