Taking screenshot using java and webdriver tool