2011-11-10 90 views

回答

0

是的,它可以通過使用Selenium Client Drivers (Java)(但不是Selenium IDE)來完成。

請參閱Selenium and TestNG

Maven的

<dependency> 
    <groupId>org.testng</groupId> 
    <artifactId>testng</artifactId> 
    <version>6.3</version> 
</dependency> 

<dependency> 
    <groupId>org.seleniumhq.selenium</groupId> 
    <artifactId>selenium-java</artifactId> 
    <version>2.11.0</version> 
</dependency> 
<dependency> 
    <groupId>org.seleniumhq.selenium</groupId> 
    <artifactId>selenium-server</artifactId> 
    <version>2.11.0</version> 
</dependency> 
<dependency> 
    <groupId>org.seleniumhq.selenium.client-drivers</groupId> 
    <artifactId>selenium-java-client-driver</artifactId> 
    <version>1.0.2</version> 
</dependency> 
相關問題