No match found for selector

Hello, I have a question that I would like to know if you could help me. I am using the selector to copy a text from a part of a page. This is my example.

Here everything is fine
Error 2

My problem is that sometimes when it doesn't get the selected text an error occurs. Is there any way to avoid the error when it doesn't get the text? Here is an example.


Hi @Joss_Rodriguez Welcome to the forum! :slight_smile:

You can do something like this:

{=catch({site: text; selector=notfound}, "No match found")}

You can replace the string with any custom message that you'd like. Let me know if it works for you.

1 Like

It has worked wonderfully, thank you very much. :heart: