Please Help.I am new to Appium. Set up Appium+ Selenide. When starting the test, I get error “java: cannot access org.openqa.selenium.internal.WrapsElement class file for org.openqa.selenium.internal.WrapsElement not found”
My pom.xml
4.0.0
<groupId>org.example</groupId>
<artifactId>Android_Ios_Selenide</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>15</maven.compiler.source>
<maven.compiler.target>15</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>IosTest</scope>
</dependency>
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide-appium</artifactId>
<version>2.0.4</version>
<exclusions>
<exclusion>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>8.1.1</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide</artifactId>
<version>5.23.2</version>
<scope>test</scope>
</dependency>
</dependencies>
package utilits;
import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.remote.MobileCapabilityType;
public class AndroidDriverProvider {
public static WebDriver getAndroidDriver() throws MalformedURLException{
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "12");
capabilities.setCapability("automationName", "Appium");
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("deviceName", "Samsung A52s 5G");
capabilities.setCapability(MobileCapabilityType.APP,"D:\\Roman\\App jnh\\src\\main\\resources\\app-release.apk");
//Create AndroidDriver instance and connect to the Appium server.
//It will launch the Calculator App in Android Device using the configurations specified in Desired Capabilities
return new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
}
mport org.junit.Test;
import org.openqa.selenium.By;
import utilits.TestBase;
import java.net.MalformedURLException;
import static com.codeborne.selenide.Selenide.$;
public class LogIn extends TestBase {
@Test
public void TestLogIn() throws MalformedURLException {
initTestSuite();
$(By.name(“Account”)).click();