I have often watched herons and egrets stalk fish or frogs along a lake shore but have never seen one hunt for prey on land. The technique is much the same, but there is an important difference in the approach.
The bird walks slowly with its neck very outstretched, often vertical, until it spies a lizard basking on one of the rocks. Then it begins to rock its neck slowly back and forth in a sinuous curve, slowly lowering its head, until finally close enough to make a grab (Sorry, but the fence obscured my photos of all of this).
This particular Egret enjoyed several tasty lizard bites before moving on to other hunting grounds.