I’m trying to automate a video player test in an Android app. My scenario is after video is starting to play, I click on the video thumbnail again and playPause button and Next button is seen for few seconds on the screen. I want to click or tap on them, but getting throws NoSuchElementFound exception. However, when I look at the page source, I see the elements I want to test in source page. Any idea how to test those buttons and why those elements not found while testing?
Thanks for help.