From deb4ad580c944bd6751d70e32675252a434019fc Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Fri, 18 Oct 2024 04:22:41 +0800 Subject: [PATCH] fix `recommendJobItemList` is nullish - bosszhipin updated --- packages/geek-auto-start-chat-with-boss/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/geek-auto-start-chat-with-boss/index.mjs b/packages/geek-auto-start-chat-with-boss/index.mjs index 729d82d..ce67e0d 100644 --- a/packages/geek-auto-start-chat-with-boss/index.mjs +++ b/packages/geek-auto-start-chat-with-boss/index.mjs @@ -488,7 +488,7 @@ async function toRecommendPage (hooks) { if (tempTargetJobIndexToCheckDetail === 0) { } else { - const recommendJobItemList = await recommendJobListElProxy.$$('ul.rec-job-list > li') + const recommendJobItemList = await recommendJobListElProxy.$$('ul.rec-job-list li.job-card-box') const targetJobElProxy = recommendJobItemList[tempTargetJobIndexToCheckDetail] // click that element await targetJobElProxy.click()