Having trouble executing the function doFilterOffer()
on this page. An error stating missing ; before statement
keeps popping up. Can you pinpoint the issue in the syntax provided below?
if (driver instanceof JavascriptExecutor) {
((JavascriptExecutor) driver).executeScript("Function doFilterOffer();", "click");
}