File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ class EmailClientAdapter {
24
24
outlook : {
25
25
selectors : {
26
26
body : 'div[role="textbox"][contenteditable="true"][aria-multiline="true"]' ,
27
- subject : 'input[aria-label="Add a subject"][type="text"]' ,
27
+ subject : [
28
+ 'input[aria-label="Subject"][type="text"]' ,
29
+ 'input[aria-label="Add a subject"][type="text"]' ,
30
+ ] ,
28
31
} ,
29
32
eventTypes : {
30
33
contentChange : 'input' ,
@@ -34,8 +37,18 @@ class EmailClientAdapter {
34
37
} ,
35
38
yahoo : {
36
39
selectors : {
37
- body : '#editor-container [contenteditable="true"][role="textbox"]' ,
38
- subject : '#compose-subject-input, input[placeholder="Subject"][id="compose-subject-input"]' ,
40
+ body : [
41
+ // Desktop selectors
42
+ '#editor-container [contenteditable="true"][role="textbox"]' ,
43
+ // Mobile selectors
44
+ '#editoor-container-mobile [contentditable="true"][role="textbox"]' ,
45
+ ] ,
46
+ subject : [
47
+ // Desktop selectors
48
+ '#compose-subject-input, input[placeholder="Subject"][id="compose-subject-input"]' ,
49
+ // Mobile selectors
50
+ '#compose-subject-input-mobile, input[placeholder="Subject"][id="compose-subject-input-mobile"]'
51
+ ] ,
39
52
} ,
40
53
eventTypes : {
41
54
contentChange : 'input' ,
You can’t perform that action at this time.
0 commit comments