protected function getMessagesContainers($type = '')
    {
        if ('' !== $type) {
            $type .= '_';
        }

        return $this->getSession()
            ->getPage()
            ->findAll('css', $selector = $this->getDrupalSelector($type . 'message_selector'));
    }
protected function getMessagesContainers($type = '')
    {
        if ('' !== $type) {
            $type .= '_';
        }

        return $this->getSession()
            ->getPage()
            ->findAll('css', $selector = $this->getDrupalSelector($type . 'message_selector'));
    }
@param string $type
Message type: "error", "warning", "success" or nothing.

@return NodeElement[]