Bug 836929 - Fix integration tests switchToFrame call
(cherry picked from commit 41a483fbf9c91cf1f6b253367800a280b513fa4f)

a=npotb

Conflicts:
	tools/test-agent/package.json