/** * Get info message after an object creation * * @return null|string */ public function getInfoMessage() { $this->driver->waitUntil(function () { return $this->driver->byCssSelector("#systemMsg .info")->text() != null; }, 5000); return utf8_decode($this->driver->byCssSelector("#systemMsg .info")->text()); }