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)

1 Like

Hi there @infobrother4,

Welcome to our forum.

Could you give us more info such as a screenshot so other members can get a better idea of what you are dealing with? Thanks!

Please refer to the topic below as well :point_down: