waitForElementState
Wait for the element to reach a specific state.Discouraged in favor of web-first assertions.
State to wait for: “visible”, “hidden”, “stable”, “enabled”, or “disabled”.
waitForSelector
Wait for a child element matching the selector.Discouraged in favor of locator-based assertions.
Return value

