fix selector bug when new conversation appears

This commit is contained in:
qcrao
2023-10-19 23:36:16 +08:00
parent 9b9406a22d
commit 5df5c68183
3 changed files with 33 additions and 18 deletions

View File

@@ -5,4 +5,9 @@ const Selectors = {
deleteButton: 'nav div a>div>button:nth-child(2)',
confirmDeleteButton: 'button.btn.btn-danger',
};
// 定义选择器和其他常量
const CONVERSATION_SELECTOR = 'div div span div ol li>a.flex';
const TITLE_SELECTOR = '.flex-1.text-ellipsis.max-h-5.overflow-hidden.break-all.relative';
const CHECKBOX_CLASS = 'conversation-checkbox';