Fix giveaway prize name
This commit is contained in:
@@ -209,7 +209,7 @@ class HellcaseJob extends BrowserJob implements ShouldBeUniqueUntilProcessing
|
||||
|
||||
// JobRun
|
||||
// Get the elements text containing class starting with giveaway-entity-prize__
|
||||
$prizeElement = $browser->driver->findElements(WebDriverBy::xpath('//div[starts-with(@class, "giveaway-entity-prize__")]'));
|
||||
$prizeElement = $browser->driver->findElements(WebDriverBy::xpath('//div[starts-with(@class, "_giveaway_")]'));
|
||||
// Join their text
|
||||
$prize = "";
|
||||
foreach ($prizeElement as $element) {
|
||||
|
||||
Reference in New Issue
Block a user