Невозможно получить доступ к org.openqa.selenium.WrapsDriver Selenide + TestContainers - PullRequest
0 голосов
/ 30 октября 2018

Я пытаюсь использовать Selenide 5.0.0 с TestContainers 1.9.1

dependencies {
    testCompile 'com.codeborne:selenide:5.0.0'
    testCompile 'org.testcontainers:selenium:1.9.1'
}

Видимо, эти версии несовместимы, потому что при запуске теста я получаю:

java: cannot access org.openqa.selenium.WrapsDriver class file for org.openqa.selenium.WrapsDriver
enter code here

Все отлично работает с селенидом 4.12.3

1 Ответ

0 голосов
/ 09 января 2019

вы можете попробовать добавить его в зависимости от maven pom, например, при использовании java:

 <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-java</artifactId>
        <version>3.141.59</version>
 </dependency>

 <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-api</artifactId>
        <version>3.141.59</version>
 </dependency>
...