Habe hierfür mal kurz eine Funktion erstellt :
Code:
#include <IE.au3>
#include <Array.au3>
$IE = _IECreate("http://getbootstrap.com/components/#alerts")
$htmlTags = _IETagNameAllGetCollection($IE):
$result = getTextContentByClassName("alert alert-success")
_ArrayDisplay($result)
Func getTextContentByClassName($className)
Local $textContents = []
For $tag in $htmlTags
$classValue = $tag.GetAttribute("class")
If StringInStr($classValue,$className) > 0 Then
_ArrayAdd($textContents,$tag.innerText)
EndIf
Next
$textContents[0] = UBound($textContents)-1
return $textContents
EndFunc