I can not execute the function doFilterOffer()
on the page, it gives the following error
missing; before statement
What is the problem with this syntax below?
if (driver instanceof JavascriptExecutor) {
((JavascriptExecutor) driver).executeScript("Function doFilterOffer();", "click");
}