# Changing textContent in workday \[duplicate\]

**URL:** <https://forums.balena.io/t/changing-textcontent-in-workday-duplicate/369830>\
**Category:** balenaEngine\
**Tags:** support\
**Created:** [January 31, 2024, 9:55am UTC](https://forums.balena.io/t/changing-textcontent-in-workday-duplicate/369830 "2024-01-31T09:55:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemanh56](https://avatars.discourse-cdn.com/v4/letter/h/41988e/32.png) [@hemanh56](https://forums.balena.io/u/hemanh56)\
**Post date:** [January 31, 2024, 9:55am UTC](https://forums.balena.io/t/changing-textcontent-in-workday-duplicate/369830/1 "2024-01-31T09:55:38Z")

</div>

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)
