Here is same question where I offered a solution:
https://community.powerplatform.com/forums/thread/details/?threadid=8c4fbdf4-8574-f011-bec2-6045bdda2ae1
So you can set up the 'Wait for image' or 'If image' actions in a slightly alternative(hacky) way in the 2.59.154.25213 patch.
Since 'Wait for image' -action is broken in this patch do this:
Capture the image you want to use in the 'Wait for image' -action with 'Move mouse to image' -action.
Then save the action and copy the action to your clipboard
And paste it in to a text/code editor like VScode
Then do the same for the 'Wait for image' -action. So copy and paste the aciton to the code editor
So then you have this:
Now we can see that the 'Wait for image' -actions code is lacking the image data. To add that copy the first actions (Move mouse to image) lines from "# [ControlRepository][PowerAutomateDesktop]" to the ending curly brackets (Line 3 to line 13 in my image)
And from the first line "Images: [imgrepo['MicrosoftLogo']] (the "MicrosoftLogo" is the image name that I had set in the "Move mouse to image action", if you did not name it anything it might be something line "Image"))
So end result looks like this:
Copy that code and paste it into your flow designer. And it should look like this:
Or just downgrade to the 2.58 version which should have the actions working normally and wait for update that fixes this bug.
Older PAD versions:
https://github.com/jfevia/Power-Automate-Desktop/releases