📅  最后修改于: 2022-03-11 14:54:58.984000             🧑  作者: Mango
JavascriptExecutor js = (JavascriptExecutor)Driver.getDriver();
js.executeScript("document.getElementById('Username').value='myUsername'");
js.executeScript("document.getElementById('Password').value='myPassword'");