getPageContent method
Returns webpage's html in string format.
Implementation
String getPageContent() => _document != null
? _document!.outerHtml
: throw WebScraperException(
'ERROR: Webpage need to be loaded first, try calling loadWebPage');