See if this answer (Mobile Device Automation error - could not access the provided web context - #9 by phaserescu) helps.