【问题标题】:Error: Program type already present: org.openqa.selenium.WebDriver$Window错误:程序类型已存在:org.openqa.selenium.WebDriver$Window
【发布时间】:2019-06-01 19:35:26
【问题描述】:

我正在尝试使用 Android Studio 设置 Appium 并遇到大量错误。我通过 Selenium 和 Appium jar 文件为 java 包含必要的依赖项并用作库,我收到以下错误:

错误:程序类型已存在:org.openqa.selenium.WebDriver$Window

【问题讨论】:

    标签: selenium appium-ios


    【解决方案1】:

    **只需在您的应用程序 gradle 中添加以下依赖项。它对我来说很好用**

    implementation('org.seleniumhq.selenium:selenium-java:2.41.0')
        testImplementation group: 'junit', name: 'junit', version: '4.12'
    

    【讨论】:

      猜你喜欢
      • 2018-06-08
      • 1970-01-01
      • 2019-07-25
      • 2019-09-04
      • 2020-10-13
      • 2019-05-22
      • 2020-03-26
      • 2019-05-03
      • 2018-09-07
      相关资源
      最近更新 更多