Search the Community
Showing results for tags 'locate'.
Found 1 result
Hello all, I am at an impasse trying to move mouse to a specific element on a webpage, a button in this case, and clicking it (this would be the easy part). The element is defined as followed: id = "controls-4" class = "set btn" I am able to locate the element using the following lines: Local $oDiv = _IEGetObjById($oIE, "controls-4") MsgBox($MB_SYSTEMMODAL, "controls-4", $oDiv.innertext) From here, I've tried the following lines, but all failed to move the mouse or click the element: Local $locDM = ControlGetPos("","",$oDiv) MouseMove($locDM,$locDM) _IEAction($oDiv, "click") After storing the element to $oDiv, how should I go about using it to achieve what I want? Thank you for your help in advance.