public function iShouldSeeLink($buttonLabel)
{
/** @var NodeElement $linkNode */
$linkNode = $this->getSession()->getPage()->findLink('download-link');
$hrefValue = $linkNode->getAttribute('href');
if (empty($hrefValue)) {
$message = 'Download link was not generated successfully.';
throw new ExpectationException($message, $this->getSession());
}
}