Reputation: 1320
I'm not able to import the package 'import org.openqa.selenium.environment;' It says it cannot be resolved when trying to import in eclipse.
Selenium version - 3.141.59
Eclipse - Neon
Java - 1.7
But i can be able to find this in the selenium source code.
https://github.com/SeleniumHQ/selenium/tree/master/java/client/test/org/openqa/selenium/environment
Not sure, whether i'm missing something here.
Upvotes: 0
Views: 482
Reputation: 5034
But i can be able to find this in the selenium source code. https://github.com/SeleniumHQ/selenium/tree/master/java/client/test/org/openqa/selenium/environment
Notice that that URL contains /test/ . In other words, that class belongs to the unit tests rather than the production code, which is why you can't find it in the production jars.
Upvotes: 1