From 72e3945620b0a5bccbdc0fc17abe5c0ef5a6a103 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Tue, 7 Apr 2026 18:05:14 +0200 Subject: [PATCH] Fix Eldorado price not found --- .../EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php b/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php index a407bcb..cfe67d6 100644 --- a/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php +++ b/app/Browser/Jobs/EldoradoRobuxPriceSentry/EldoradoRobuxPriceSentryJob.php @@ -208,7 +208,7 @@ class EldoradoRobuxPriceSentryJob extends BrowserJob implements ShouldBeUniqueUn private function getFirstOffer(Browser $browser): EldoradoRobuxOffer { - $lowestPriceElement = $browser->driver->findElement(WebDriverBy::xpath('(//eld-offer-price)[2]/strong')); + $lowestPriceElement = $browser->driver->findElement(WebDriverBy::xpath('(//eld-offer-price)[2]//strong')); $lowestPriceText = $lowestPriceElement->getText(); // Ex: " 0,00478 € " $lowestPrice = $this->textToFloat($lowestPriceText); //$lowestPrice = $lowestPrice / 1000; // Price per Robux