I am having a problem with my automated tests where executing mobile commands with driver.executeScript is crashing the webpage. This also happens with a few other commands, such as performing any TouchAction, and clicking with nativeWebTap turned on.
The first time one of these actions is performed, the webpage will refresh. If another action is performed after that, the page will crash, and show ‘A problem repeatedly occurred’ error.
This started happening after a recent update to the website. I’ve checked all my test cases manually, and there are no issues when I’m not running automation.
If anyone has any ideas about what could be causing this, or knows any workarounds I could use, it would be a big help. This problem has made more than half of my test cases essentially unusable.
Appium Version: 1.22.1
Simulating iOS Devices on Mac OS
Testing a website in safari browser
Tests are written in Java, using java-client 7.60
I want to make sure I’m understanding this correctly. The automation crashes the web server, so the webpage is no longer hosted until you reboot the web server?