Objective
What to automate
Use frameLocator to fill and submit the nested form, then verify its result.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-FRAME-001.
Test data
message: Nested frame ready
Expected result
The nested frame reports the submitted message.
Progressive hints
Hint 1
Select the outer frame by title.
Hint 2
Chain a second frameLocator for the inner frame.
Hint 3
Keep the assertion scoped to the inner browsing context.
I’ve tried it — show solution
- Select the outer frame by title.
- Chain a second frameLocator for the inner frame.
- Keep the assertion scoped to the inner browsing context.