Whatsapp Web QR code Scanning using Appium Java

That’s a tough situation to be in. If it were me I would go to developers and explain the problems you are having with automation. Perhaps they could agree to some changes in the debug version of the app that would make this easier. Like a QR code that lasts long enough for you to use, or some default value that you can pass instead of using the QR code.

I would still do the manual testing on such a thing, but by changing the app to accommodate automation limitations, QA could qualify the app quickly. I often find developers are open to this line of thinking.