What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-09 06:04:09
class io.appium.java_client.AppiumDriver cannot be cast to class org.openqa.selenium.interactions.HasTouchScreen (io.appium.java_client.AppiumDriver and org.openqa.selenium.interactions.HasTouchScreen are in unnamed module of loader 'app')
public void scrollDown() { //The viewing size of the device Dimension size = driver.manage().window().getSize(); //x position set to mid-screen horizontally int width = size.width / 2; //Starting y location set to 80% of the height... Add solution -
Java 2021-09-09 12:12:05
How to scroll in appium using java
public void scrollDown() { //The viewing size of the device Dimension size = driver.manage().window().getSize(); //x position set to mid-screen horizontally int width = size.width / 2; //Starting y location set to 80% of the height... Add solution -
Other 2021-09-07 22:14:01
Horizontal scroll on the web page.
import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.Test; public class Ho... Add solution
Best helpers
Ranking is empty