public function getSelector(bool $refresh = false): string
    {
        if (!isset($this->selector) || $refresh) {
            $this->generateSelector();
        }

        return $this->selector;
    }