i have this code
<span class="search-icon"></span>
i want to click it , i try code :
$oTags = _IETagNameGetCollection($oIE, 'span')
If Not @error ThenFor $oTag In $oTagsIf $oTag.class == 'search-icon' Then_IEAction($oTag, 'click')_IELoadWait($oIE)ExitLoopEndIfNextEndIf; end click
But it is working , anyone can help , please ??