Copy/paste on parallel tests not stable because tests have the same clipboard

Hi everyone,

I am running tests in parallel on multiple simulators/emulators. Android runs faster and I haven’t seen any issue on Android side, but iOS I need to confirm the paste action from system popup. I use setCapability("autoAcceptAlerts", true); capability for iOS and it takes pretty long until Appium finds the button and clicks, meanwhile I guess it fills clipboard from Android test.
I often get the text input on iOS blank. Does anyone has similar implementation or can help me?

This is the best article I’ve seen on clipboard usage in Appium:

https://appiumpro.com/editions/16-automating-the-clipboard-on-ios-and-android