Component(page: Page, rootElement: WebElement)
Create a new component, given the page it's linked to and its root element.
Constructor Create a new component, given the page it's linked to and its root element.