अगर मैं एक कड़ी: मैं मैं अपने पाठ के आधार पर clickLink
कर सकते हैं पता हैलार्वेल शाम के साथ लिंक आइकन कैसे क्लिक करें?
<a href="/somewhere">Click Me</a>
।
public function testCanClickLink()
{
$this->browse(function ($browser) {
$browser->visit('/welcome')
->clickLink('Click Me');
});
}
लेकिन मैं आइकन लिंक कैसे क्लिक कर सकता हूं?
<a href="/somewhere">
<i class="fa fa-plus" aria-hidden="true"></i>
</a>