code: public function findByCss($selector)
      {
          return $this->getWorkingElement()
              ->find(empty($this->getDrupalParameter('region_map')[$selector]) ? 'css' : 'region', $selector);
      }
docs: @param string $selector
  
  @return NodeElement