@@ -23,8 +23,11 @@ class EmailClientAdapter {
23
23
} ,
24
24
outlook : {
25
25
selectors : {
26
- body : 'div[role="textbox"][contenteditable="true"][aria-multiline="true"][aria-label="Message body, press Alt+F10 to exit"]' ,
27
- subject : 'input[aria-label="Subject"][type="text"][maxlength="255"][placeholder="Add a subject"]' ,
26
+ body : 'div[role="textbox"][contenteditable="true"][aria-multiline="true"]' ,
27
+ subject : [
28
+ 'input[aria-label="Subject"][type="text"]' ,
29
+ 'input[aria-label="Add a subject"][type="text"][role="textbox"][aria-multiline="false"]' ,
30
+ ] ,
28
31
} ,
29
32
eventTypes : {
30
33
contentChange : 'input' ,
@@ -35,18 +38,26 @@ class EmailClientAdapter {
35
38
yahoo : {
36
39
selectors : {
37
40
body : [
38
- '[aria-multiline="true"][aria-label="Message body"][contenteditable="true"][role="textbox"]' ,
41
+ // Desktop selectors
42
+ '#editor-container [contenteditable="true"][role="textbox"]' ,
43
+ '[aria-multiline="true"][aria-label="Message body"][contenteditable="true"][role="textbox"]' ,
39
44
'[aria-label="Message body"][contenteditable="true"]' ,
40
45
'[role="textbox"][contenteditable="true"]' ,
41
46
'[data-test-id*="compose"][contenteditable="true"]' ,
42
- '.compose-editor [contenteditable="true"]'
47
+ '.compose-editor [contenteditable="true"]' ,
48
+ // Mobile selectors
49
+ '#editor-container-mobile [contenteditable="true"][role="textbox"]' ,
43
50
] . join ( ', ' ) ,
44
- subject : [
45
- '#compose-subject-input' ,
51
+ subject : [
52
+ // Desktop selectors
53
+ '#compose-subject-input, input[placeholder="Subject"][id="compose-subject-input"]' ,
54
+ '#compose-subject-input' ,
46
55
'input[placeholder="Subject"]' ,
47
56
'input[aria-label*="subject" i]' ,
48
- 'input[data-test-id*="subject" i]'
49
- ] . join ( ', ' )
57
+ 'input[data-test-id*="subject" i]' ,
58
+ // Mobile selectors
59
+ '#compose-subject-input-mobile, input[placeholder="Subject"][id="compose-subject-input-mobile"]'
60
+ ] . join ( ', ' ) ,
50
61
} ,
51
62
eventTypes : {
52
63
contentChange : 'input' ,
0 commit comments