sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39664
[Question #321924]: selenium capture popup window
New question #321924 on Sikuli:
https://answers.launchpad.net/sikuli/+question/321924
i want to capture a popupwindow`s textbox in the div level,but when i run the below code,it displays that:
document.getElementById(...) is null
code follows:
String js1 = "document.getElementById(\"sourceModal\").style.display='block';";
((JavascriptExecutor)driver).executeScript(js1);
driver.findElement(By.id("ChooseHouseHouseID")).sendKeys("212748");
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.