I assume when you say " it doesn't seems be working well." , it means the whole macro get cancel due to some error.
You can try put a "Display Text" action after "The real actions" action to find out if that action actually cause the macro to stop working. I suspect the "the real actions" probably cause the macro to stop working.
Try disable "Failure Aborts Macro" in those actions in "the real actions" and "Execute Text Script" action
@ccstone is there any way to run these actions for certain minutes?
My process is like…
1.Refresh the page ( browser)
2. Find the class name. Ready to start the next action.
3. Run the next JS script until the result gets true.
If not, keep refreshing the browser( page ).
But the refresh should be only 5 minutes.
So I need to add some action which should not be unlimited loop refreshing.