0
I can’t perform the function doFilterOffer()
on the page, it gives the following error
Missing ; before statement
, what’s the problem with this syntax below?
if (driver instanceof JavascriptExecutor) {
((JavascriptExecutor) driver).executeScript("Function doFilterOffer();", "click");
}
Could you put a larger part of the code? The error is indicated before the if or after entering it?
– mauricio caserta
@mauriciocaserta ja solved, thank you very much.
– Paulo Roberto