troca no metodo de extração do selenium

This commit is contained in:
Renan Bernordi 2024-12-18 22:43:26 -03:00
parent b5ac4c0036
commit 1c3db07c0c

View file

@ -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();