Dim instance As WebDriver Dim pattern As String Dim group As Short Dim returnValue As List returnValue = instance.PageSourceMatches(pattern, group)