update xpath
This commit is contained in:
parent
fcc5840163
commit
f9b4db8125
File diff suppressed because one or more lines are too long
|
|
@ -442,7 +442,7 @@ export class ContentService {
|
|||
|
||||
fixedHeightChatInput(retry = 20, interval = 1000) {
|
||||
const tryFind = () => {
|
||||
const el = this.getElementByXPath(
|
||||
const el = document.querySelector(
|
||||
this.service.elTags.chat_input
|
||||
) as HTMLElement;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ export class TeamsChatService {
|
|||
"/html/body/div[1]/div/div/div/div[6]/div[4]/div/div[1]/div/div[3]/div/div[3]/div/div[2]/div/div[2]/div/div/card/div/div/div[2]/div/div[1]/button",
|
||||
reply_btn: '[aria-label="Reply"]',
|
||||
chat_input:
|
||||
"/html/body/div[1]/div/div/div/div[6]/div[4]/div/div[1]/div/div[3]/div/div[3]/div/div[2]/div/div[2]/div[1]/div",
|
||||
// "/html/body/div[1]/div/div/div/div[6]/div[4]/div/div[1]/div/div[3]/div/div[3]/div/div[2]/div/div[2]/div[1]/div",
|
||||
'[placeholder="Type a message"]',
|
||||
};
|
||||
|
||||
public getCurrentRoomInfo(): { room_id?: string; room_name?: string } {
|
||||
|
|
|
|||
Loading…
Reference in New Issue