Строчка которая не работает:
static TouchAction<> action = new TouchAction(driver);
компилятор выдает:
Multiple markers at this line
- TouchAction is a raw type. References to generic type TouchAction<T> should be parameterized
- TouchAction is a raw type. References to generic type TouchAction<T> should be parameterized
- Incorrect number of arguments for type TouchAction<T>; it cannot be parameterized with
arguments <>
Инициализировал строку так:
import org.openqa.selenium.interactions.touch.TouchActions;
TouchActions action = new TouchActions(driver);
Вместо:
import io.appium.java_client.TouchAction;
static TouchAction<> action = new TouchAction(driver);
Сборка персонального компьютера от Artline: умный выбор для современных пользователей