I have just copied the project, I have the same code and pom of my colleagues and it works for them.
This is the exception: org.openqa.selenium.UnsupportedCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource.
The version of selenium on the pom: 4.10.0
Version of Appium on the pom: 8.3.0
Version of Appium in the terminal is: 2.5.4
In debug mode I found out that the last method perform()
is the cause of the exception:
(new TouchAction((PerformsTouchActions) CommonPage.getDriver())).longPress(PointOption.point(xScrollPosition, yFrom-150)).moveTo(PointOption.point(xScrollPosition, yTo-150)).release().perform();
The perform method:
public T perform() {
this.performsTouchActions.performTouchAction(this);
return this;
}
The method that caused the exception is: performTouchAction
Xandrel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.