I get a compilation error when compiling with ANT but not when I compile with Eclipse. Is there any reason for this? The compliation error I get when using Ant is error:
incompatible types: By cannot be converted to String wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(By.className("ReportFrame")));
The method frameToBeAvailableAndSwitchToIt is an overloaded method with the signature and parameter:
frameToBeAvailableAndSwitchToIt(By locator)
frameToBeAvailableAndSwitchToIt(java.lang.String frameLocator)