The apps are loaded in a protected iframe. So, it cannot access the parent DOM elements and make changes to it.
The only way to make any changes to the page is to use the platform’s Interface Methods.
Only field changes and button clicks can be simulated. To change the ticket description, you can get the current ticket details from the Data Methods and make an API call to modify the ticket description. It’s not possible in Interface methods.