Question #661266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661266
Status: Answered => Open
Maniraj is still having a problem:
Hi,
I do not how to switch to opened window it is refer Desktop screen of my laptop
and taking Screenshot i need to take screenshot in the window which is opened
by Selenium
Note: i am using MAC Laptop
CODE:
WebDriver driver2=new ChromeDriver();
WebDriverWait wait2 = new WebDriverWait(driver2, 40);
driver2.get("http://zsal-imac:9090/visitor/index1.html");
driver2.manage().window().fullscreen();
Region reg = new Region(413,248,680,510);
reg.saveScreenCapture("/Users/Desktop/","a");
Kindly help me and share code if possible to focus the region in the
website which opened by selenium web driver.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp