Root Page Objects

To load a page object in a test, the JSON must have "root": true. Each UTAM tutorial has a page object with "root": true so that it can run in the live Test Runner.

Root page objects are special, because they declare their own scope in their selector. Other page objects are scoped by their immediate parent.

In the real world, only landing pages and modals are usually declared as root page objects.

Click Run Test.