My iOS test scripts are failing on LambdaTest

My test scripts are getting failed while running through LambdaTest. If I don’t use LambdaTest and run with normal browser, it is getting passed. On LambdaTest, it is giving me element not found, only on iOS browsers Without LambdaTest, I configured iOS browser in Chrome with mobile emulator and ran the script.

Hi Miro!

You can experience this for one of the following two reasons.

  1. On comparing from local to LambdaTest, there is a possibility that the element would take slightly higher time to load and to curb this, you can try adding Implicit OR Explicit wait before clicking on the element
  2. On your local machine, you are emulating the iOS but it is still using Chrome. However when executing tests on iOS it run on Safari browser and it might be possible that the element you are looking for is different in Safari