remove_scope
Remove a scope from a page object. Fails if any locator is still assigned to it; unassign locators via set_method_scope first.
Instructions
Remove a scope from a page object. Fails if any locator on the same page object is still assigned to it -- unassign with set_method_scope first (pass a null/omitted scope).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| project | No | Path to the project root (same folder the side panel connects to). Defaults to the EASYSPEC_PROJECT environment variable if omitted. | |
| pageObject | Yes |