I am trying to use Selenium api with Gradle. This is my build.gradle dependency section:
dependencies {
compile \'com.google.api-client:google-api-clien
Just adding the below was not enough
com.google.guava
guava
27.1-jre
It was not working first. Then I moved this dependency up higher in pom.xml than junit dependency and it worked. So, make sure that in pom file ,it is higher than junit or testng or whatever runner you are using
A comment in this post helped