[ad_1]
Im capable of verify the aspect is current, and visual, however it’s not transferring the seekbar to finish or in between, the identical working for Android machine.
WebElement seekBar = iOSdriver.findElement(By.xpath(
"/XCUIElementTypeApplication/XCUIElementTypeWindow[2]"));
if (seekBar.isDisplayed()) {
System.out.println(seekBar.isEnabled());
int startX = seekBar.getLocation().getX();
int yAxis = seekBar.getLocation().getY();
int endX= (startX+seekBar.getSize().getWidth());
TouchAction act = new TouchAction(iOSdriver);
act.press(PointOption.level(startX, yAxis)).moveTo(PointOption.level(endX1, yAxis)).launch()
.carry out();}
[ad_2]
