mirror of
https://github.com/manualdousuario/marreta.git
synced 2025-09-05 04:00:34 +00:00
troca no metodo de extração do selenium
This commit is contained in:
parent
b5ac4c0036
commit
1c3db07c0c
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ use Facebook\WebDriver\Firefox\FirefoxProfile;
|
||||||
|
|
||||||
class URLAnalyzer
|
class URLAnalyzer
|
||||||
{
|
{
|
||||||
// Rest of the file content remains exactly the same
|
|
||||||
/**
|
/**
|
||||||
* @var array Lista de User Agents disponíveis para requisições
|
* @var array Lista de User Agents disponíveis para requisições
|
||||||
*/
|
*/
|
||||||
|
@ -206,7 +205,7 @@ class URLAnalyzer
|
||||||
|
|
||||||
$driver->get($url);
|
$driver->get($url);
|
||||||
|
|
||||||
$htmlSource = $driver->executeScript("return document.documentElement.outerHTML;");
|
$htmlSource = $driver->getPageSource();
|
||||||
|
|
||||||
$driver->quit();
|
$driver->quit();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue