@duckduckgo/autoconsent 17.0.0 → 17.2.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.
Files changed (198) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/content.bundle.js +15 -3
  4. package/dist/addon-firefox/manifest.json +1 -1
  5. package/dist/addon-firefox/rule-index.json +1 -1
  6. package/dist/addon-firefox/rules.json +1 -1
  7. package/dist/addon-mv3/compact-rules.json +1 -1
  8. package/dist/addon-mv3/content.bundle.js +15 -3
  9. package/dist/addon-mv3/manifest.json +1 -1
  10. package/dist/addon-mv3/rule-index.json +1 -1
  11. package/dist/addon-mv3/rules.json +1 -1
  12. package/dist/autoconsent.cjs.js +15 -3
  13. package/dist/autoconsent.esm.js +15 -3
  14. package/dist/autoconsent.playwright.js +15 -3
  15. package/dist/autoconsent.standalone.js +16 -4
  16. package/dist/heuristics.cjs.js +15 -3
  17. package/dist/heuristics.mjs +15 -3
  18. package/lib/heuristic-patterns.ts +18 -2
  19. package/package.json +1 -1
  20. package/rules/autoconsent/1pmobile.json +44 -0
  21. package/rules/autoconsent/amasty-gdpr-hyva.json +131 -0
  22. package/rules/autoconsent/amazonforum.json +86 -0
  23. package/rules/autoconsent/autoscout24.json +34 -0
  24. package/rules/autoconsent/babylist.json +23 -0
  25. package/rules/autoconsent/babylonbee.json +36 -0
  26. package/rules/autoconsent/bathnes-cookie-banner.json +31 -0
  27. package/rules/autoconsent/bigcommerce-consent-manager.json +3 -2
  28. package/rules/autoconsent/chairish.json +17 -0
  29. package/rules/autoconsent/chemicalbook.json +13 -0
  30. package/rules/autoconsent/chimnie-co-uk.json +21 -0
  31. package/rules/autoconsent/complianz-optin.json +5 -3
  32. package/rules/autoconsent/cookie-info-banner.json +33 -0
  33. package/rules/autoconsent/cookie-pref-form.json +48 -0
  34. package/rules/autoconsent/doktorabc.json +44 -0
  35. package/rules/autoconsent/dola.json +35 -0
  36. package/rules/autoconsent/dolphinfitness.json +17 -0
  37. package/rules/autoconsent/econda-pp2.json +33 -0
  38. package/rules/autoconsent/ekd-de.json +32 -0
  39. package/rules/autoconsent/endeavorhealth.json +31 -0
  40. package/rules/autoconsent/ensighten.json +3 -3
  41. package/rules/autoconsent/etracker.json +35 -0
  42. package/rules/autoconsent/fepblue-org.json +13 -0
  43. package/rules/autoconsent/foto-erhardt.json +35 -0
  44. package/rules/autoconsent/fpl-com.json +34 -0
  45. package/rules/autoconsent/fuqer.json +11 -0
  46. package/rules/autoconsent/futoncompany.json +18 -0
  47. package/rules/autoconsent/greatschools.json +13 -0
  48. package/rules/autoconsent/hamradio-com.json +13 -0
  49. package/rules/autoconsent/hubspot.json +7 -1
  50. package/rules/autoconsent/ibkr.json +16 -0
  51. package/rules/autoconsent/in2cookiemodal.json +65 -0
  52. package/rules/autoconsent/islington-council.json +16 -0
  53. package/rules/autoconsent/jetpens.json +44 -0
  54. package/rules/autoconsent/jurahilfe-de.json +23 -0
  55. package/rules/autoconsent/justwatch-com.json +3 -2
  56. package/rules/autoconsent/kanopy.json +88 -0
  57. package/rules/autoconsent/klimatabelle.com.json +13 -0
  58. package/rules/autoconsent/kuendigung.org.json +14 -0
  59. package/rules/autoconsent/mainlinemenswear.json +39 -0
  60. package/rules/autoconsent/moebel-de-group.json +20 -0
  61. package/rules/autoconsent/money-co-uk.json +21 -0
  62. package/rules/autoconsent/myjobquote.json +19 -0
  63. package/rules/autoconsent/ncsoft-cookie-toast.json +30 -0
  64. package/rules/autoconsent/northwell-edu.json +29 -0
  65. package/rules/autoconsent/nts-org-uk.json +20 -0
  66. package/rules/autoconsent/nuxt-cookie-manager.json +22 -0
  67. package/rules/autoconsent/nyu-langone.json +30 -0
  68. package/rules/autoconsent/ofsted-reports-cosmetic.json +13 -0
  69. package/rules/autoconsent/om.json +3 -3
  70. package/rules/autoconsent/optum-legal-banner.json +10 -0
  71. package/rules/autoconsent/optum.json +35 -0
  72. package/rules/autoconsent/pandectes.json +1 -2
  73. package/rules/autoconsent/pcloud.json +18 -0
  74. package/rules/autoconsent/pcspecialist.json +13 -0
  75. package/rules/autoconsent/planned-parenthood.json +17 -0
  76. package/rules/autoconsent/plumrocket-cookie-consent.json +22 -0
  77. package/rules/autoconsent/pornhub-compact-cookie-banner.json +1 -1
  78. package/rules/autoconsent/pornhub.json +1 -1
  79. package/rules/autoconsent/react-cookie-consent.json +34 -0
  80. package/rules/autoconsent/reviewsolicitors.json +41 -0
  81. package/rules/autoconsent/ring.json +1 -1
  82. package/rules/autoconsent/rittal.json +33 -0
  83. package/rules/autoconsent/sankei-digital.json +37 -0
  84. package/rules/autoconsent/scotland-police-uk.json +13 -0
  85. package/rules/autoconsent/shimano-bike.json +29 -0
  86. package/rules/autoconsent/shoezone.json +35 -0
  87. package/rules/autoconsent/sitepark-sitekit.json +27 -0
  88. package/rules/autoconsent/texas-gov.json +22 -0
  89. package/rules/autoconsent/tiresize.com.json +17 -0
  90. package/rules/autoconsent/tplink.json +50 -10
  91. package/rules/autoconsent/tradecalculator.json +49 -0
  92. package/rules/autoconsent/trillian.json +10 -0
  93. package/rules/autoconsent/tyreseeker.json +44 -0
  94. package/rules/autoconsent/uhcprovider.json +13 -0
  95. package/rules/autoconsent/unicity.json +22 -0
  96. package/rules/autoconsent/united-online.json +66 -0
  97. package/rules/autoconsent/unitedutilities.json +52 -0
  98. package/rules/autoconsent/uttings.co.uk.json +22 -0
  99. package/rules/autoconsent/vgn-de.json +53 -0
  100. package/rules/autoconsent/watchfinder.json +16 -0
  101. package/rules/autoconsent/westminster.ac.uk.json +46 -0
  102. package/rules/autoconsent/yourspares.json +39 -0
  103. package/rules/compact-rules.json +1 -1
  104. package/rules/rule-index.json +1 -1
  105. package/rules/rules.json +1 -1
  106. package/tests/1pmobile.spec.ts +5 -0
  107. package/tests/amasty-gdpr-hyva.spec.ts +17 -0
  108. package/tests/amazonforum.spec.ts +9 -0
  109. package/tests/autoscout24.spec.ts +14 -0
  110. package/tests/babylist.spec.ts +3 -0
  111. package/tests/babylonbee.spec.ts +6 -0
  112. package/tests/bathnes-cookie-banner.spec.ts +3 -0
  113. package/tests/bigcommerce-consent-manager.spec.ts +1 -0
  114. package/tests/chairish.spec.ts +3 -0
  115. package/tests/chemicalbook.spec.ts +5 -0
  116. package/tests/chimnie-co-uk.spec.ts +3 -0
  117. package/tests/complianz-optin.spec.ts +2 -0
  118. package/tests/cookie-info-banner.spec.ts +8 -0
  119. package/tests/cookie-pref-form.spec.ts +8 -0
  120. package/tests/doktorabc.spec.ts +3 -0
  121. package/tests/dola.spec.ts +5 -0
  122. package/tests/dolphinfitness.spec.ts +3 -0
  123. package/tests/econda-pp2.spec.ts +3 -0
  124. package/tests/ekd-de.spec.ts +5 -0
  125. package/tests/endeavorhealth.spec.ts +3 -0
  126. package/tests/ensighten.spec.ts +7 -1
  127. package/tests/etracker.spec.ts +8 -0
  128. package/tests/fepblue-org.spec.ts +3 -0
  129. package/tests/foto-erhardt.spec.ts +3 -0
  130. package/tests/fpl-com.spec.ts +3 -0
  131. package/tests/fuqer.spec.ts +3 -0
  132. package/tests/futoncompany.spec.ts +3 -0
  133. package/tests/greatschools.spec.ts +3 -0
  134. package/tests/hamradio-com.spec.ts +3 -0
  135. package/tests/hubspot.spec.ts +6 -1
  136. package/tests/ibkr.spec.ts +18 -0
  137. package/tests/in2cookiemodal.spec.ts +13 -0
  138. package/tests/islington-council.spec.ts +8 -0
  139. package/tests/jetpens.spec.ts +5 -0
  140. package/tests/jurahilfe-de.spec.ts +3 -0
  141. package/tests/kanopy.spec.ts +5 -0
  142. package/tests/klimatabelle.com.spec.ts +3 -0
  143. package/tests/kuendigung.org.spec.ts +3 -0
  144. package/tests/mainlinemenswear.spec.ts +3 -0
  145. package/tests/moebel-de-group.spec.ts +9 -0
  146. package/tests/money-co-uk.spec.ts +3 -0
  147. package/tests/myjobquote.spec.ts +5 -0
  148. package/tests/ncsoft-cookie-toast.spec.ts +6 -0
  149. package/tests/northwell-edu.spec.ts +3 -0
  150. package/tests/nts-org-uk.spec.ts +3 -0
  151. package/tests/nuxt-cookie-manager.spec.ts +11 -0
  152. package/tests/nyu-langone.spec.ts +3 -0
  153. package/tests/ofsted-reports-cosmetic.spec.ts +3 -0
  154. package/tests/om.spec.ts +3 -1
  155. package/tests/optum-legal-banner.spec.ts +9 -0
  156. package/tests/optum.spec.ts +6 -0
  157. package/tests/pandectes.spec.ts +6 -0
  158. package/tests/pcloud.spec.ts +5 -0
  159. package/tests/pcspecialist.spec.ts +12 -0
  160. package/tests/planned-parenthood.spec.ts +3 -0
  161. package/tests/plumrocket-cookie-consent.spec.ts +3 -0
  162. package/tests/pornhub.spec.ts +1 -1
  163. package/tests/react-cookie-consent.spec.ts +3 -0
  164. package/tests/reviewsolicitors.spec.ts +3 -0
  165. package/tests/rittal.spec.ts +6 -0
  166. package/tests/sankei-digital.spec.ts +9 -0
  167. package/tests/scotland-police-uk.spec.ts +6 -0
  168. package/tests/shimano-bike.spec.ts +6 -0
  169. package/tests/shoezone.spec.ts +3 -0
  170. package/tests/sitepark-sitekit.spec.ts +9 -0
  171. package/tests/texas-gov.spec.ts +3 -0
  172. package/tests/tiresize.com.spec.ts +3 -0
  173. package/tests/tplink.spec.ts +1 -1
  174. package/tests/tradecalculator.spec.ts +3 -0
  175. package/tests/trillian.spec.ts +15 -0
  176. package/tests/tyreseeker.spec.ts +3 -0
  177. package/tests/uhcprovider.spec.ts +3 -0
  178. package/tests/unicity.spec.ts +9 -0
  179. package/tests/united-online.spec.ts +4 -0
  180. package/tests/unitedutilities.spec.ts +11 -0
  181. package/tests/uttings.co.uk.spec.ts +3 -0
  182. package/tests/vgn-de.spec.ts +3 -0
  183. package/tests/watchfinder.spec.ts +3 -0
  184. package/tests/westminster.ac.uk.spec.ts +3 -0
  185. package/tests/yourspares.spec.ts +3 -0
  186. package/tests-wtr/heuristics/heuristics-utils.test.ts +34 -4
  187. package/rules/generated/auto_CH_moebel24.ch_fck.json +0 -40
  188. package/rules/generated/auto_DE_moebel.de_yf1.json +0 -40
  189. package/rules/generated/auto_DE_nanu-nana.de_7my.json +0 -40
  190. package/rules/generated/auto_GB_partscentre.co.uk_s70.json +0 -40
  191. package/rules/generated/auto_NO_pcsx2.net_grl.json +0 -40
  192. package/rules/generated/auto_US_interactivebrokers.com_0.json +0 -28
  193. package/tests/generated/auto_CH_moebel24.ch_fck.spec.ts +0 -2
  194. package/tests/generated/auto_DE_moebel.de_yf1.spec.ts +0 -2
  195. package/tests/generated/auto_DE_nanu-nana.de_7my.spec.ts +0 -2
  196. package/tests/generated/auto_GB_partscentre.co.uk_s70.spec.ts +0 -6
  197. package/tests/generated/auto_NO_pcsx2.net_grl.spec.ts +0 -2
  198. package/tests/generated/auto_US_interactivebrokers.com_0.spec.ts +0 -3
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('vgn.de', ['https://www.vgn.de/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('watchfinder', ['https://www.watchfinder.co.uk/', 'https://www.watchfinder.com/', 'https://www.watchfinder.fr/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('westminster.ac.uk', ['https://www.westminster.ac.uk/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('yourspares', ['https://www.yourspares.co.uk/']);
@@ -75,7 +75,7 @@ describe('checkHeuristicPatterns', () => {
75
75
  });
76
76
  });
77
77
 
78
- describe('checkHeuristicPatterns with a qualifier before "cookies"', () => {
78
+ describe('checkHeuristicPatterns with qualifiers before "cookies"', () => {
79
79
  it('detects "we use <qualifier> cookies" notices', () => {
80
80
  const texts = [
81
81
  // openrouter.ai
@@ -83,6 +83,8 @@ describe('checkHeuristicPatterns with a qualifier before "cookies"', () => {
83
83
  'We use optional cookies to measure traffic',
84
84
  'We use analytics cookies and similar technologies',
85
85
  'We serve necessary cookies only',
86
+ 'We use Google Analytics cookies to understand which pages and tools are useful.',
87
+ 'We use third party cookies for advertising',
86
88
  ];
87
89
  for (const text of texts) {
88
90
  expect(checkHeuristicPatterns(text).patterns.length, text).to.be.greaterThan(0);
@@ -90,9 +92,9 @@ describe('checkHeuristicPatterns with a qualifier before "cookies"', () => {
90
92
  });
91
93
 
92
94
  it('does not match when "cookies" is further away', () => {
93
- expect(checkHeuristicPatterns('We use the best chocolate in our cookies', [/we use(?: \w+)? cookies/gi]).patterns).to.have.length(
94
- 0,
95
- );
95
+ expect(
96
+ checkHeuristicPatterns('We use the best chocolate in our cookies', [/we (?:use|serve)(?: \w+){0,2} cookies/gi]).patterns,
97
+ ).to.have.length(0);
96
98
  });
97
99
  });
98
100
 
@@ -195,6 +197,23 @@ describe('checkHeuristicPatterns with Danish popups', () => {
195
197
  });
196
198
  });
197
199
 
200
+ describe('checkHeuristicPatterns with Norwegian popups', () => {
201
+ it('detects Norwegian cookie notices', () => {
202
+ const texts = [
203
+ 'Kan vi bruke valgfrie informasjonskapsler for å forbedre tjenestene våre?',
204
+ 'Vi bruker informasjonskapsler for å gi deg en bedre opplevelse.',
205
+ 'Nettstedet bruker cookies til statistikk.',
206
+ ];
207
+ for (const text of texts) {
208
+ expect(checkHeuristicPatterns(text).patterns.length, text).to.be.greaterThan(0);
209
+ }
210
+ });
211
+
212
+ it('does not detect unrelated Norwegian text', () => {
213
+ expect(checkHeuristicPatterns('Vi bruker skattemeldingen til å beregne skatten din').patterns).to.have.length(0);
214
+ });
215
+ });
216
+
198
217
  describe('isExcludedPopup', () => {
199
218
  it('flags doublelist-style age verification popups', () => {
200
219
  // Real-world text from the doublelist.com age gate (listings page)
@@ -349,6 +368,17 @@ describe('classifyButtonTextRegex', () => {
349
368
  expect(classifyButtonTextRegex('Læs mere om brugen af cookies på sundhed.dk')).not.to.equal('reject');
350
369
  });
351
370
 
371
+ it('matches Norwegian reject buttons', () => {
372
+ expect(classifyButtonTextRegex('Nei')).to.equal('reject');
373
+ expect(classifyButtonTextRegex('Nei takk')).to.equal('reject');
374
+ expect(classifyButtonTextRegex('Avvis alle')).to.equal('reject');
375
+ expect(classifyButtonTextRegex('Avslå')).to.equal('reject');
376
+ expect(classifyButtonTextRegex('Godta kun nødvendige')).to.equal('reject');
377
+ expect(classifyButtonTextRegex('Bare nødvendige informasjonskapsler')).to.equal('reject');
378
+ expect(classifyButtonTextRegex('Ja')).not.to.equal('reject');
379
+ expect(classifyButtonTextRegex('Les mer om hvordan vi bruker informasjonskapsler')).not.to.equal('reject');
380
+ });
381
+
352
382
  it('matches Russian settings buttons', () => {
353
383
  expect(classifyButtonTextRegex('Настроить')).to.equal('settings');
354
384
  expect(classifyButtonTextRegex('Настройки')).to.equal('settings');
@@ -1,40 +0,0 @@
1
- {
2
- "name": "auto_CH_moebel24.ch_fck",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://www.moebel24.ch/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?moebel24\\.ch/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]",
30
- "comment": "Ablehnen"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]",
36
- "timeout": 1000,
37
- "check": "none"
38
- }
39
- ]
40
- }
@@ -1,40 +0,0 @@
1
- {
2
- "name": "auto_DE_moebel.de_yf1",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://www.moebel.de/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?moebel\\.de/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]",
30
- "comment": "Ablehnen"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]",
36
- "timeout": 1000,
37
- "check": "none"
38
- }
39
- ]
40
- }
@@ -1,40 +0,0 @@
1
- {
2
- "name": "auto_DE_nanu-nana.de_7my",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://www.nanu-nana.de/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?nanu-nana\\.de/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div#et-consent-overlay > div:nth-child(5):not([id]) > div:nth-child(1):not([id]) > button:nth-child(1):not([id])"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div#et-consent-overlay > div:nth-child(5):not([id]) > div:nth-child(1):not([id]) > button:nth-child(1):not([id])"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div#et-consent-overlay > div:nth-child(5):not([id]) > div:nth-child(1):not([id]) > button:nth-child(1):not([id])",
30
- "comment": "Alles ablehnen"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div#et-consent-overlay > div:nth-child(5):not([id]) > div:nth-child(1):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_partscentre.co.uk_s70",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://www.partscentre.co.uk/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?partscentre\\.co\\.uk/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div:not([id]) > aside:nth-child(2):not([id]) > div:nth-child(2):not([id]) > div:nth-child(2)#modal-content-17 > div#pr-cookie-notice > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(2)#btn-cookie-decline"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div:not([id]) > aside:nth-child(2):not([id]) > div:nth-child(2):not([id]) > div:nth-child(2)#modal-content-17 > div#pr-cookie-notice > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(2)#btn-cookie-decline"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div:not([id]) > aside:nth-child(2):not([id]) > div:nth-child(2):not([id]) > div:nth-child(2)#modal-content-17 > div#pr-cookie-notice > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(2)#btn-cookie-decline",
30
- "comment": "Decline"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div:not([id]) > aside:nth-child(2):not([id]) > div:nth-child(2):not([id]) > div:nth-child(2)#modal-content-17 > div#pr-cookie-notice > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(2)#btn-cookie-decline",
36
- "timeout": 1000,
37
- "check": "none"
38
- }
39
- ]
40
- }
@@ -1,40 +0,0 @@
1
- {
2
- "name": "auto_NO_pcsx2.net_grl",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://pcsx2.net/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?pcsx2\\.net/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div#__docusaurus > div:not([id]) > div:nth-child(2):not([id]) > div:nth-child(2):not([id]) > button:nth-child(1)#rcc-decline-button"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div#__docusaurus > div:not([id]) > div:nth-child(2):not([id]) > div:nth-child(2):not([id]) > button:nth-child(1)#rcc-decline-button"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div#__docusaurus > div:not([id]) > div:nth-child(2):not([id]) > div:nth-child(2):not([id]) > button:nth-child(1)#rcc-decline-button",
30
- "comment": "Decline"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div#__docusaurus > div:not([id]) > div:nth-child(2):not([id]) > div:nth-child(2):not([id]) > button:nth-child(1)#rcc-decline-button",
36
- "timeout": 1000,
37
- "check": "none"
38
- }
39
- ]
40
- }
@@ -1,28 +0,0 @@
1
- {
2
- "name": "auto_US_interactivebrokers.com_0",
3
- "vendorUrl": "https://www.interactivebrokers.com/",
4
- "cosmetic": false,
5
- "runContext": {
6
- "main": true,
7
- "frame": false,
8
- "urlPattern": "^https?://(www\\.)?interactivebrokers\\.com/"
9
- },
10
- "prehideSelectors": [],
11
- "detectCmp": [
12
- {
13
- "exists": "body > div[class][id][tabindex][role][aria-labelledby][aria-modal][style] > div > div > div:nth-child(3) > div > div > p > button:nth-child(3)"
14
- }
15
- ],
16
- "detectPopup": [
17
- {
18
- "visible": "body > div[class][id][tabindex][role][aria-labelledby][aria-modal][style] > div > div > div:nth-child(3) > div > div > p > button:nth-child(3)"
19
- }
20
- ],
21
- "optIn": [],
22
- "optOut": [
23
- {
24
- "waitForThenClick": "body > div[class][id][tabindex][role][aria-labelledby][aria-modal][style] > div > div > div:nth-child(3) > div > div > p > button:nth-child(3)",
25
- "text": "Reject All Cookies"
26
- }
27
- ]
28
- }
@@ -1,2 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_CH_moebel24.ch_fck', ['https://www.moebel24.ch/'], { testOptIn: false, testSelfTest: true, onlyRegions: ['CH'] });
@@ -1,2 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_DE_moebel.de_yf1', ['https://www.moebel.de/'], { testOptIn: false, testSelfTest: true, onlyRegions: ['DE'] });
@@ -1,2 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_DE_nanu-nana.de_7my', ['https://www.nanu-nana.de/'], { testOptIn: false, testSelfTest: true, onlyRegions: ['DE'] });
@@ -1,6 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_GB_partscentre.co.uk_s70', ['https://www.partscentre.co.uk/'], {
3
- testOptIn: false,
4
- testSelfTest: true,
5
- onlyRegions: ['GB'],
6
- });
@@ -1,2 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_NO_pcsx2.net_grl', ['https://pcsx2.net/'], { testOptIn: false, testSelfTest: true, onlyRegions: ['NO'] });
@@ -1,3 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
-
3
- generateCMPTests('auto_US_interactivebrokers.com_0', ['https://www.interactivebrokers.com/']);