Hi I need to swipe an element from right to left.I attached the screen shot of that element.In this screen shot i need to swipe Wishlist element then the result is delete element will appear as in the screenshot.I used action class also but not worked The xpaths used is
WebElement Whishlist= driver.findElement(By.xpath("//XCUIElementTypeTable/XCUIElementTypeCell[2]/XCUIElementTypeStaticText[1]"));
WebElement Delete=driver.findElement(By.xpath("//XCUIElementTypeTable/XCUIElementTypeCell[2]/XCUIElementTypeStaticText[2]/XCUIElementTypeButton[2]
How can i right code to swipe this element?