System.out.printf("now accesss %s \n", filePath);
dr.get(filePath);
Thread.sleep(1000);
dr.findElement(By.linkText("Link1")).click();
(new WebDriverWait(dr, 10)).until(new ExpectedCondition<Boolean>(){
public Boolean apply(WebDriver d){
return d.findElement(By.id("dropdown1")).isDisplayed();
}