Instantly share code, notes, and snippets.

Embed
What would you like to do?
generated automatically from #selenium on seleniumhq slack
WebElement element = driver.findElement(By.class("k-checkbox"));
JavascriptExecutor executor = (JavascriptExecutor)driver;
executor.executeScript("arguments[0].click();", element);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment