Deactivate free giveaways slides
All checks were successful
Push image to registry / build-image (push) Successful in 7m44s
All checks were successful
Push image to registry / build-image (push) Successful in 7m44s
This commit is contained in:
@ -171,7 +171,8 @@ class HellcaseJob extends BrowserJob implements ShouldBeUniqueUntilProcessing
|
|||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
$nextSlideButton = $browser->driver->findElement(WebDriverBy::xpath('//button[@class="_button_1ygbm_7 _next_1ygbm_24"]'));
|
// $nextSlideButton = $browser->driver->findElement(WebDriverBy::xpath('//button[@class="_button_1ygbm_7 _next_1ygbm_24"]'));
|
||||||
|
$nextSlideButton = "Button next slide is deactivated";
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$browser->screenshot(JobDebugScreenshot::getFileName($this->jobId));
|
$browser->screenshot(JobDebugScreenshot::getFileName($this->jobId));
|
||||||
AllNotification::send(new JobDebugNotification($this->jobId, "No next slide button found"));
|
AllNotification::send(new JobDebugNotification($this->jobId, "No next slide button found"));
|
||||||
@ -186,7 +187,7 @@ class HellcaseJob extends BrowserJob implements ShouldBeUniqueUntilProcessing
|
|||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$clickedFailsCounter++;
|
$clickedFailsCounter++;
|
||||||
try {
|
try {
|
||||||
$nextSlideButton->click();
|
// $nextSlideButton->click();
|
||||||
} catch (\Exception $_) {}
|
} catch (\Exception $_) {}
|
||||||
sleep(3);
|
sleep(3);
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user