I have a little tricky task where i need to find some HTML within a JavaScript variable and traverse it.
The variables look like this:
<script>
var someVar = new something.Something({
content: 'This text has to be found<br /><table></table>',
size: 230
)};
....
</script>
I do not know the name of the JS variable, so it has to be found based on the This text has to be found
snippet/string. Afterwards verified that it is actually a JS variable, then i want to fetch the value <br /><table></table>
in order to traverse it.