Changing textContent in workday [duplicate]

I am currently working on a Rate my professor Chrome extension that displays professor ratings on the workday. However, I am having some problems for access the specific span element by using getElementsByClassName.

Here is my code:

courses = document.getElementsByClassName(‘gwt-InlineLabel WG5F WF4F’) console.log(courses.textContent)

hello, sorry for late reply, may I know if you use the quectel module, and could you tell us the module type and current version? thanks~