Fix Helcase Battles Job scrollIntoView
This commit is contained in:
@@ -97,7 +97,7 @@ class HellcaseBattlesJob extends HellcaseJob implements ShouldBeUniqueUntilProce
|
||||
$battles = $browser->driver->findElements(WebDriverBy::xpath("//*[contains(@class, '_base_vzctn_1')]"));
|
||||
$battle = $battles[$battleIndex];
|
||||
$battleIndex++;
|
||||
$browser->scrollIntoView(".casebattle-table__item:nth-child(" . max($battleIndex -1, 1) . ")");
|
||||
$browser->scrollIntoView("._item_1i3qm_5:nth-child(" . max($battleIndex -1, 1) . ")");
|
||||
sleep(2);
|
||||
$battleValue = floatval(
|
||||
explode(
|
||||
|
||||
Reference in New Issue
Block a user