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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -