Selenium Webdriver - missing classes in maven repository
I have been using Selenium Webdriver successfully with JAR downloaded from their pages or code.google. But now I would like convert my project to use Maven repository. I found out that my required classes are in support module of webdriver and confirmed it in their repository ( classes Wait, WebDriverWait, ExpectedCondition). So I have linked required dependency webdriver-support-module but these classes weren't here.
Can anybody explain to me why the classes from this module aren't in this module in Maven repository and tell me where I can find them开发者_开发问答? I will be really grateful. Thanks a lot.
You do not need to reference each module separately, just add a whole Selenium 2.0a5 (currently the latest one) dependency:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium</artifactId>
<version>2.0a5</version>
<type>jar</type>
</dependency>
You can also find more information about using Selenium WebDriver on their wiki page. This Maven Repository also contains the latest selenium-parent project / POM information.
精彩评论