From 1c3db07c0ca31d6989a7af7118cd15750432f72b Mon Sep 17 00:00:00 2001 From: Renan Bernordi Date: Wed, 18 Dec 2024 22:43:26 -0300 Subject: [PATCH] =?UTF-8?q?troca=20no=20metodo=20de=20extra=C3=A7=C3=A3o?= =?UTF-8?q?=20do=20selenium?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/inc/URLAnalyzer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/inc/URLAnalyzer.php b/app/inc/URLAnalyzer.php index 904b337..6e6bf97 100644 --- a/app/inc/URLAnalyzer.php +++ b/app/inc/URLAnalyzer.php @@ -24,7 +24,6 @@ use Facebook\WebDriver\Firefox\FirefoxProfile; class URLAnalyzer { - // Rest of the file content remains exactly the same /** * @var array Lista de User Agents disponíveis para requisições */ @@ -206,7 +205,7 @@ class URLAnalyzer $driver->get($url); - $htmlSource = $driver->executeScript("return document.documentElement.outerHTML;"); + $htmlSource = $driver->getPageSource(); $driver->quit();