I have a project with many classes.
I wish to replace this command:
a.Dosomething();
by this one:
((JavascriptExecutor) driver).executeScript("click();", a);
(when a in the first command is the same in the second)
I read this answer: Eclipse Replace text in all Classes?
But this is not possible with variable. There is a easy way to do it?