@duckduckgo/autoconsent 14.66.0 → 14.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/data/coverage.json +5846 -2663
- package/dist/addon-firefox/background.bundle.js +20 -8
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +0 -2
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +20 -8
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +0 -2
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +0 -2
- package/dist/autoconsent.esm.js +0 -2
- package/dist/autoconsent.extra.cjs.js +0 -2
- package/dist/autoconsent.extra.esm.js +0 -2
- package/dist/autoconsent.playwright.js +0 -2
- package/dist/types/eval-snippets.d.ts +0 -2
- package/lib/eval-snippets.ts +0 -3
- package/package.json +1 -1
- package/playwright/runner.ts +9 -1
- package/rules/autoconsent/elsevier-pure.json +31 -0
- package/rules/autoconsent/ensighten.json +50 -0
- package/rules/autoconsent/facebook.json +21 -7
- package/rules/autoconsent/fullertonhotels.com.json +37 -0
- package/rules/autoconsent/geni.com.json +8 -5
- package/rules/autoconsent/remarkable.com.json +6 -27
- package/rules/autoconsent/unicourt.json +5 -5
- package/rules/compact-rules.json +1 -1
- package/rules/generated/auto_AU_flysaa.com_qsm.json +10 -9
- package/rules/generated/auto_DE_immobilien.sparkasse.de_zj7.json +10 -10
- package/rules/rules.json +1 -1
- package/tests/elsevier-pure.spec.ts +11 -0
- package/tests/ensighten.spec.ts +9 -0
- package/tests/fullertonhotels.com.spec.ts +6 -0
- package/rules/autoconsent/ens-modal.json +0 -13
- package/rules/autoconsent/ens-notify-banner.json +0 -12
- package/rules/autoconsent/mediavine.json +0 -17
- package/rules/autoconsent/national-lottery-co-uk.json +0 -11
- package/rules/autoconsent/ouraring.json +0 -36
- package/rules/generated/auto_AU_discover.utas.edu.au_k2n.json +0 -37
- package/rules/generated/auto_AU_experts.deakin.edu.au_0kw.json +0 -40
- package/rules/generated/auto_AU_experts.griffith.edu.au_oi0.json +0 -37
- package/rules/generated/auto_AU_fullertonhotels.com_y46.json +0 -40
- package/rules/generated/auto_AU_profiles.uts.edu.au_ouv.json +0 -37
- package/rules/generated/auto_AU_scholars.latrobe.edu.au_li6.json +0 -40
- package/rules/generated/auto_CA_discover.research.utoronto.ca_vtf.json +0 -40
- package/rules/generated/auto_CA_remarkable.com_kt9.json +0 -40
- package/rules/generated/auto_GB_profiles.ucl.ac.uk_lpo.json +0 -40
- package/tests/generated/auto_AU_discover.utas.edu.au_k2n.spec.ts +0 -6
- package/tests/generated/auto_AU_experts.deakin.edu.au_0kw.spec.ts +0 -6
- package/tests/generated/auto_AU_experts.griffith.edu.au_oi0.spec.ts +0 -6
- package/tests/generated/auto_AU_fullertonhotels.com_y46.spec.ts +0 -6
- package/tests/generated/auto_AU_profiles.uts.edu.au_ouv.spec.ts +0 -6
- package/tests/generated/auto_AU_scholars.latrobe.edu.au_li6.spec.ts +0 -6
- package/tests/generated/auto_CA_discover.research.utoronto.ca_vtf.spec.ts +0 -6
- package/tests/generated/auto_CA_remarkable.com_kt9.spec.ts +0 -2
- package/tests/generated/auto_GB_profiles.ucl.ac.uk_lpo.spec.ts +0 -6
- package/tests/mediavine.spec.ts +0 -5
- package/tests/national-lottery.spec.ts +0 -5
- package/tests/ouraring.spec.ts +0 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('elsevier-pure', [
|
|
4
|
+
'https://discover.utas.edu.au/',
|
|
5
|
+
'https://experts.deakin.edu.au/',
|
|
6
|
+
'https://experts.griffith.edu.au/',
|
|
7
|
+
'https://profiles.uts.edu.au/',
|
|
8
|
+
'https://scholars.latrobe.edu.au/',
|
|
9
|
+
'https://profiles.ucl.ac.uk/',
|
|
10
|
+
'https://discover.research.utoronto.ca/',
|
|
11
|
+
]);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Ensighten ensModal",
|
|
3
|
-
"prehideSelectors": [".ensModal"],
|
|
4
|
-
"detectCmp": [{ "exists": ".ensModal" }, { "visible": "#ensModalWrapper[style*=block]" }],
|
|
5
|
-
"detectPopup": [{ "visible": "#ensModalWrapper[style*=block]" }],
|
|
6
|
-
"optIn": [{ "waitForThenClick": "#modalAcceptButton" }],
|
|
7
|
-
"optOut": [
|
|
8
|
-
{ "wait": 500 },
|
|
9
|
-
{ "visible": "#ensModalWrapper[style*=block]" },
|
|
10
|
-
{ "waitForThenClick": ".ensCheckbox:checked", "all": true },
|
|
11
|
-
{ "waitForThenClick": "#ensSave" }
|
|
12
|
-
]
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Ensighten ensNotifyBanner",
|
|
3
|
-
"prehideSelectors": ["#ensNotifyBanner"],
|
|
4
|
-
"detectCmp": [{ "visible": "#ensNotifyBanner[style*=block]" }],
|
|
5
|
-
"detectPopup": [{ "visible": "#ensNotifyBanner[style*=block]" }],
|
|
6
|
-
"optIn": [{ "waitForThenClick": "#ensCloseBanner" }],
|
|
7
|
-
"optOut": [
|
|
8
|
-
{ "wait": 500 },
|
|
9
|
-
{ "visible": "#ensNotifyBanner[style*=block]" },
|
|
10
|
-
{ "waitForThenClick": "#ensRejectAll,#rejectAll,#ensRejectBanner,.rejectAll,#ensCloseBanner", "timeout": 2000 }
|
|
11
|
-
]
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Mediavine",
|
|
3
|
-
"prehideSelectors": ["[data-name=\"mediavine-gdpr-cmp\"]"],
|
|
4
|
-
"detectCmp": [{ "exists": "[data-name=\"mediavine-gdpr-cmp\"]" }],
|
|
5
|
-
"detectPopup": [{ "wait": 500 }, { "visible": "[data-name=\"mediavine-gdpr-cmp\"]" }],
|
|
6
|
-
"optIn": [
|
|
7
|
-
{
|
|
8
|
-
"waitForThenClick": "[data-name=\"mediavine-gdpr-cmp\"] [format=\"primary\"]"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"optOut": [
|
|
12
|
-
{ "waitForThenClick": "[data-name=\"mediavine-gdpr-cmp\"] [data-view=\"manageSettings\"]" },
|
|
13
|
-
{ "waitFor": "[data-name=\"mediavine-gdpr-cmp\"] input[type=checkbox]" },
|
|
14
|
-
{ "eval": "EVAL_MEDIAVINE_0", "optional": true },
|
|
15
|
-
{ "click": "[data-name=\"mediavine-gdpr-cmp\"] [format=\"secondary\"]" }
|
|
16
|
-
]
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "national-lottery.co.uk",
|
|
3
|
-
"detectCmp": [{ "exists": ".cuk_cookie_consent" }],
|
|
4
|
-
"detectPopup": [{ "visible": ".cuk_cookie_consent", "check": "any" }],
|
|
5
|
-
"optOut": [
|
|
6
|
-
{ "click": ".cuk_cookie_consent_manage_pref" },
|
|
7
|
-
{ "click": ".cuk_cookie_consent_save_pref" },
|
|
8
|
-
{ "click": ".cuk_cookie_consent_close" }
|
|
9
|
-
],
|
|
10
|
-
"optIn": [{ "click": ".cuk_cookie_consent_accept_all" }]
|
|
11
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ouraring",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"runContext": {
|
|
5
|
-
"main": true,
|
|
6
|
-
"frame": false,
|
|
7
|
-
"urlPattern": "^https://ouraring\\.com"
|
|
8
|
-
},
|
|
9
|
-
"prehideSelectors": [],
|
|
10
|
-
"detectCmp": [
|
|
11
|
-
{
|
|
12
|
-
"exists": "[data-cy=\"consent-manager-banner\"]"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"detectPopup": [
|
|
16
|
-
{
|
|
17
|
-
"visible": "[data-cy=\"consent-manager-banner\"]"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"optIn": [
|
|
21
|
-
{
|
|
22
|
-
"waitForThenClick": "[data-cy=\"manage_cookies\"]"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"waitForThenClick": "[data-cy=\"consent-manager-preferences-allow-all\"]"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"optOut": [
|
|
29
|
-
{
|
|
30
|
-
"waitForThenClick": "[data-cy=\"manage_cookies\"]"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"waitForThenClick": "[data-cy=\"consent-manager-preferences-deny-all\"]"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_AU_discover.utas.edu.au_k2n",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"runContext": {
|
|
5
|
-
"main": true,
|
|
6
|
-
"frame": false,
|
|
7
|
-
"urlPattern": "^https?://(www\\.)?discover\\.utas\\.edu\\.au/"
|
|
8
|
-
},
|
|
9
|
-
"prehideSelectors": [],
|
|
10
|
-
"detectCmp": [
|
|
11
|
-
{
|
|
12
|
-
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"detectPopup": [
|
|
16
|
-
{
|
|
17
|
-
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"optIn": [],
|
|
21
|
-
"optOut": [
|
|
22
|
-
{
|
|
23
|
-
"wait": 500
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
27
|
-
"comment": "Reject"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"test": [
|
|
31
|
-
{
|
|
32
|
-
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
33
|
-
"timeout": 1000,
|
|
34
|
-
"check": "none"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_AU_experts.deakin.edu.au_0kw",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://experts.deakin.edu.au/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?experts\\.deakin\\.edu\\.au/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
30
|
-
"comment": "Reject"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_AU_experts.griffith.edu.au_oi0",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"runContext": {
|
|
5
|
-
"main": true,
|
|
6
|
-
"frame": false,
|
|
7
|
-
"urlPattern": "^https?://(www\\.)?experts\\.griffith\\.edu\\.au/"
|
|
8
|
-
},
|
|
9
|
-
"prehideSelectors": [],
|
|
10
|
-
"detectCmp": [
|
|
11
|
-
{
|
|
12
|
-
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"detectPopup": [
|
|
16
|
-
{
|
|
17
|
-
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"optIn": [],
|
|
21
|
-
"optOut": [
|
|
22
|
-
{
|
|
23
|
-
"wait": 500
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
27
|
-
"comment": "Reject"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"test": [
|
|
31
|
-
{
|
|
32
|
-
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
33
|
-
"timeout": 1000,
|
|
34
|
-
"check": "none"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_AU_fullertonhotels.com_y46",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://www.fullertonhotels.com/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": false,
|
|
9
|
-
"frame": true,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?fullertonhotels\\.com/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div#banner-0 > div:nth-child(1)#grouped-pageload-Banner > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(3):not([id])"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div#banner-0 > div:nth-child(1)#grouped-pageload-Banner > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(3):not([id])"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div#banner-0 > div:nth-child(1)#grouped-pageload-Banner > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(3):not([id])",
|
|
30
|
-
"comment": "Decline"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div#banner-0 > div:nth-child(1)#grouped-pageload-Banner > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(3):not([id])",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_AU_profiles.uts.edu.au_ouv",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"runContext": {
|
|
5
|
-
"main": true,
|
|
6
|
-
"frame": false,
|
|
7
|
-
"urlPattern": "^https?://(www\\.)?profiles\\.uts\\.edu\\.au/"
|
|
8
|
-
},
|
|
9
|
-
"prehideSelectors": [],
|
|
10
|
-
"detectCmp": [
|
|
11
|
-
{
|
|
12
|
-
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"detectPopup": [
|
|
16
|
-
{
|
|
17
|
-
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"optIn": [],
|
|
21
|
-
"optOut": [
|
|
22
|
-
{
|
|
23
|
-
"wait": 500
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
27
|
-
"comment": "Reject"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"test": [
|
|
31
|
-
{
|
|
32
|
-
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
33
|
-
"timeout": 1000,
|
|
34
|
-
"check": "none"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_AU_scholars.latrobe.edu.au_li6",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://scholars.latrobe.edu.au/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?scholars\\.latrobe\\.edu\\.au/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
30
|
-
"comment": "Reject"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_CA_discover.research.utoronto.ca_vtf",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://discover.research.utoronto.ca/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?discover\\.research\\.utoronto\\.ca/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
30
|
-
"comment": "Reject"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_CA_remarkable.com_kt9",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://remarkable.com/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?remarkable\\.com/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > dialog:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(1):not([id])"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > dialog:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(1):not([id])"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > dialog:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(1):not([id])",
|
|
30
|
-
"comment": "Only necessary"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > dialog:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(1):not([id])",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_GB_profiles.ucl.ac.uk_lpo",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://profiles.ucl.ac.uk/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?profiles\\.ucl\\.ac\\.uk/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
30
|
-
"comment": "Reject"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
package/tests/mediavine.spec.ts
DELETED
package/tests/ouraring.spec.ts
DELETED