WebElement Sel= driver.findElement(By.tagName("html")); sel.sendKeys(Keys.chord(Keys.CONTROL, Keys.ADD));
reset the zoom back to 100%:
html.sel(Keys.chord(Keys.CONTROL, "0"));
No comments:
Post a Comment