The original document says; do that to click a link:
$crawler = $client->click($crawler->selectLink('Sign in')->link());
However, the area I would like to click is something like the code below. There is no text. In the browser, you can only see an icon.
<div id="Wrap" class="IconWrap">
<span class="Icon"> </span>
</div>
Searched but could not find it. I would be happy to hear from you. If you have an idea.
I have found out that ->link() does not accept any input other than < a > , therefore there has to be a real link to be recognised as a link.