We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dedf43e commit 149e600Copy full SHA for 149e600
TbsCore/Tasks/LowLevel/UpgradeBuilding.cs
@@ -342,7 +342,6 @@ private async Task<bool> TryFastUpgrade(Account acc)
342
343
// click to play video
344
acc.Logger.Information("Waiting ads video load before clicking play button");
345
- await Task.Delay(rand.Next(5000, 9000));
346
347
{
348
var result = await Update(acc);
@@ -355,6 +354,8 @@ private async Task<bool> TryFastUpgrade(Account acc)
355
354
}
356
357
+ await Task.Delay(rand.Next(20000, 30000));
358
+
359
var elementIframe = acc.Wb.Driver.FindElement(By.XPath(nodeIframe.XPath));
360
Actions act = new Actions(acc.Wb.Driver);
361
act.MoveToElement(elementIframe).Click().Build().Perform();
0 commit comments