driver.findElement(MobileBy.AccessibilityId("توضیحات")).click(); driver.findElement(By.id("ir.mci.ecareapp:id/cash_out_btn_wallet_fragment")).click(); // String elementText = "کیف پول"; By byText = MobileBy.AndroidUIAutomator("new UiSelector().text(\"" + elementText + "\")"); WebElement element = driver.findElement(byText); element.click(); // driver.findElement(By.id("ir.mci.ecareapp:id/guide_to_get_score_ll_about_club_bottom_sheet")).click();
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter