constructor(rootElement) {
        this.rootElement = rootElement;
        this.primitiveMenu = new PagePrimitiveMenu(
            `${rootElement} button[data-id="avatar-menu-button"]`,
        );
    }
Create a new AvatarMenu page object.
@constructor
@param {string} rootElement - The selector of the AvatarMenu root element.