I want to click on print button and then click on cancel button to see print summary.
It is base on google chrome print option.
I have used below code
{PrintIcon.click();
Mywait().until(ExpectedCondition.elementToClickable(By.xpath(“buttonxpath”)));
CancelBtn.click();
}