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 0c1cbbe commit 4f47ab6Copy full SHA for 4f47ab6
TbsCore/Tasks/LowLevel/NPC.cs
@@ -22,13 +22,14 @@ public override async Task<TaskRes> Execute(Account acc)
22
await DriverHelper.ClickById(acc, npcButton.Id);
23
24
//wait npc form show
25
- var timeout = DateTime.Now.AddSeconds(100);
+ var timeout = DateTime.Now.AddSeconds(10);
26
27
HtmlNode remainRes = null;
28
do
29
{
30
await Task.Delay(1000);
31
32
+ acc.Wb.UpdateHtml();
33
remainRes = acc.Wb.Html.GetElementbyId("remain");
34
35
if (timeout < DateTime.Now)
0 commit comments