The browser doesn't allow automation
Failure code not_allowed
The lab, not your site: never counted against it
What it means
The browser on that device won't let a test drive it until a setting is on: Developer Mode on an iPhone, or Remote Automation in Safari.
What to do
Developer Mode off
- On the iPhone: Settings › Privacy & Security › Developer Mode › On. It restarts: unlock it and tap Turn On.
- Then retry.
Safari on the Mac
- Press Fix it on the Mac on its result, and approve the password prompt on that Mac (it turns on safaridriver).
- In Safari on that Mac: Develop › Allow Remote Automation. Then retry.
Safari on the iPhone
- On the iPhone: Settings › Apps › Safari › Advanced › Web Inspector and Remote Automation, both On (older iOS: Settings › Safari › Advanced).
- Then retry.
For your coding agent
Don't change code. For Safari on a Mac, lab_fix {fix: "safari"} asks for the password on that Mac; otherwise ask your user to do how_to_fix's steps.