This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

I am trying to automate a feature and the page is not getting in focus / lossing focus.

The first page is launched and there is a popup ,after either accepting it or dismissing the popup, second page is seen and when i try to click or identify element, the page is not getting focused.

To make sure that the element is correct, i did a work around. I did driver.closeapp and then relaunched driver.launchapp, then the app launched the second page and identified the element. So basically it is lossing focus when second page is seen.
Is there a way to get the focus/refresh the page on appium?
this is for iOS using Appium

I dont want to automate with the work around, but instead i need that second page to work without close and relaunch the app

Any help is highly thanks full

  • created

    Apr '17
  • last reply

    Apr '18
  • 1

    reply

  • 416

    views

  • 2

    users

1 year later