How to perform mobile actions on an app within a separate thread

Do you mean by this “sharing an instance of driver by multiple threads”? As I wrote, it is NOT possible, as the KS stores the driver instance is ThreadLocal.

Alternative approach could be creating 2 instances of of drivers at the same time. I have ever demonstrated a test case for WebUI. See

I proved that I can open a single URL in 2 browser windows simultaneously and do 2 sets of assertions on each windows. This approach would help you organising codes packed per target web pages; a bit easier to read.

Please note this example does assertions sequentially, one by one. It does not perform parallel things at all. So this approach does not make processing faster.

Sorry, I do not know if it is possible for Mobile as well.