Fix watch button not found
All checks were successful
Push image to registry / build-image (push) Successful in 3m16s
All checks were successful
Push image to registry / build-image (push) Successful in 3m16s
This commit is contained in:
@@ -109,7 +109,7 @@ class HellcaseBattlesJob extends HellcaseJob implements ShouldBeUniqueUntilProce
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$battleLinkButton = $battle->findElement(WebDriverBy::xpath('./div//button[text() = "watch"]'));
|
$battleLinkButton = $battle->findElement(WebDriverBy::xpath("./div//button[.//*[text() = 'watch']]"));
|
||||||
$battleLinkButton->sendKeys("\n");
|
$battleLinkButton->sendKeys("\n");
|
||||||
sleep(3);
|
sleep(3);
|
||||||
try { // If we still are on the casebattle page, it means the battle was cancelled or something else
|
try { // If we still are on the casebattle page, it means the battle was cancelled or something else
|
||||||
|
|||||||
Reference in New Issue
Block a user