Write a function that takes one or more class names as a parameter and returns an array of strings, where each string is the inner text content of an anchor tag in the current d