In “write” mode, click on the “set variable” action. Insert your resource into it, for example, {{links_data|notreuse}}, and you will receive your links in the variable.
Thank you, my brother, your actions are really extraordinary and able to solve my problem according to my expectations, once again thank you, my brother.
2021-12-27_16-34-15.png 
What I mean is how to remove elements that are not visible to the browser to avoid clicking on them.
Thanks.
@stephenperry18 You need to attach to something else, which is not changing.
For example, if there is only one frame on page, or index of frame is not changing you can use following expression: