Extract text from source

Hi there,
I’m still a newbie with UI Vision and trying to learn it hard.

I have a site with dynamic content in source code:

<div id="Color1" class="Color1 choose Blue for your life" ...

Please suggest me a code to extract the text “Color1 choose Blue for your life”. Even better if i can extract the “Blue” from this string

Thank you

Please see Finding text in a webpage - #2 by ulrich and our web scraping commands page.

In your case storeText or sourceExtract are good options.

Thanks admin for advises. SourceExtract does not work for my case cos the string is embedded in a DOM element. Reading those guides help me a lot for some ideas.

Maybe this command helps further: Extract complete HTML code from website