android - Not able to click on a Iframe button– Java- Appium -
i trying click on button present inside iframe. test showing successful not clicking on button. writing scripts using java. please find below code.
first switched webview native app using
driver.context("webview_0");
after switch iframe using
driver.switchto().frame("iframe_a"); thread.sleep(10000); webelement playicon = driver.findelement(by.xpath("//div[@class='plt-playbtnforipad']")); playicon.click();
but playicon not clicking. not showing error. can please me regarding this.
thanks, tariful islam
Comments
Post a Comment