【发布时间】:2020-08-02 16:36:17
【问题描述】:
我是 Java 和 Maven 的新手。
我正在关注这个关于 Cucumber in Java 的教程,但它没有提到 Maven 依赖项,例如与 Cucumber 相关的模块的 groupId 或 artifactId。
https://cucumber.netlify.app/docs/guides/browser-automation/
我的问题是,从代码库的信息中,我怎样才能获得要插入 pom.xm 的信息?
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.WebDriverWait;
【问题讨论】:
-
cucumber.netlify.app/docs/installation/java 这是他们的官方文档。你试过这个吗?