TestProject Forum

Insert text within a SPAN [SOLVED]

I would like to insert text within an html element, more precisely a span. I tried, but I couldn’t. Has anyone made it yet?

1 Like

Sorry I don’t understand your question, do you mean type text when you say ‘insert text’? You’re trying to type text into a span, not an input element? Tell us more about your goal and any screenshots, it will help.

Hi,
You can use the addon type with Javascript:

image

In case it doesn’t work you can generally change elements using Execute JavaScript, you can use this code as an example:

document.getElementById("myspan").textContent="newtext";