Find and activate link on Webpage


I made this script to help someone who wanted to find and open a link on a webpage based on a search value.

Thought it might be of value to others.



That’s interesting. What’s the use case – versus just using ⌘F (Find) on a webpage?

I was helping someone with their particular issue, not sure about all of the details but I presume it was for some form of web scraping.

I did find that often the URL link will differ from the web page content so a ⌘F search will not always get the required result. I have a sample of this below.

1 Like