寻找 org.openqa.selenium.support.ui.Select jar 路径

looking for org.openqa.selenium.support.ui.Select jar path

谁能帮我找到下面jar

的link

org.openqa.selenium.support.ui.Select

您是如何将 selenium 添加到您的项目中的,您使用的是什么IDE?

如果您是从 selenium website 手动下载 jar,那么它们在这里:

它们在 client-combined-3.141.59.jar 中,当您将其添加到 IDE 中时,您将拥有所需的路径。

然而,手动下载和添加它们并不是好的做法。您将无法手动升级它们并且无法远程执行。

如果你使用 maven 或 gradle 为你管理它会更好。

作为一个简单的例子,在 Maven 中你添加这个 pom.xml:

       <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>3.141.59</version>
        </dependency>

它为您管理依赖项。你在你的项目中得到这个: