iainrose / page-objects

A basic framework for running automated tests using WebDriver w Java, TestNG & Gradle
29 stars 27 forks source link

The type com.google.common.base.Predicate cannot be resolved. It is indirectly referenced from required .class files #3

Closed kamal2222ahmed closed 12 years ago

kamal2222ahmed commented 12 years ago

I am getting compile error:

The type com.google.common.base.Predicate cannot be resolved. It is indirectly referenced from required .class files

for the statement:

wait.until(ExpectedConditions.visibilityOfElementLocated(getUniqueElement()));

in java class AbstractPageObject.java

iainrose commented 12 years ago

Not sure why that would happen but I removed all the google guice dependancies from build.gradle as I'm not using them anyway.

Please re-sync and try again.