Waitfortextpresent + store the result to a variable

ok thanks!

I’m trying to automate chatgpt tho, so the xpath will always be different…I saw there is a similar request, not sure how to implement it.

I will prompt something into CHATGPT and I will ask it to write FINISH when it has finished.

So a couple of approaches:

  1. We manage to find the text “FINISHED” in the last parahraph generated and store it as a variable, then if found, proceed to step 2, or otherwise write “continue writing”

  2. We check the image and look for the text FINISHED (Not sure this is doable).

Moreover. I’d need to check when chatgpt is done writing so that I can then input the right command.

In case someone can help I’m willing to pay.

Thanks!