public function click($cssSelector)
    {
        $element = $this->getElementByCssSelector($cssSelector);

        $this->assert($element != null, "{$cssSelector} not found on the page");

        $element->click();
    }