Instead of search try to use indexOf . indexOf works better for searching something on web page.
And instead of coordinates try use HTML property of the place the macro is clicking. If the coordinates are something relevant to the process then it's better to use HTML property. Coordinates can be preciseness and miss the target.