Skip to content

Add autoconsent rule for time.com#1317

Draft
noisysocks wants to merge 1 commit intoranderson/context-eng-benchmark-v2-baselinefrom
cursor/time-com-autoconsent-rule-18f4
Draft

Add autoconsent rule for time.com#1317
noisysocks wants to merge 1 commit intoranderson/context-eng-benchmark-v2-baselinefrom
cursor/time-com-autoconsent-rule-18f4

Conversation

@noisysocks
Copy link
Copy Markdown
Contributor

Adds an autoconsent rule for time.com.

Findings

time.com uses the Ketch consent management platform but does not show a cookie banner automatically — the Ketch experience is userInitiated only. Instead, the page renders a "Do Not Sell or Share My Personal Information" button in the site footer that opens the Ketch preferences modal (#ketch-preferences).

This rule:

  1. Detects the in-page footer button as the CMP signal.
  2. Clicks the footer button to open the Ketch preferences modal.
  3. Switches to the Preferences tab.
  4. Clicks "Reject All" (opt-out) or "Accept All" (opt-in), then "Submit".
  5. Verifies the consent decision via the usprivacy=1YYN cookie set by the CCPA opt-out (Ketch + Time set this cookie to 1YYN after Reject + Submit).

Selector strategy

  • Footer trigger: xpath///footer//button[contains(., 'Do Not Sell or Share My Personal Information')]. The button has only utility-class CSS, no stable id; using XPath text + footer scope keeps it specific without depending on Tailwind class hashes.
  • Modal: #ketch-preferences (stable Ketch ID).
  • Tab: #ketch-preferences-navigation-purposes-tab (stable Ketch ID).
  • Action buttons: #ketch-preferences button[aria-label='Reject All' | 'Accept All' | 'Submit'] (stable Ketch aria-labels).

Test

  • tests/time.com.spec.ts — runs the standard generateCMPTests opt-in / opt-out / self-test suite against https://time.com/.
Open in Web Open in Cursor 

Co-authored-by: Robert Anderson <robert@noisysocks.com>
@daxtheduck
Copy link
Copy Markdown
Collaborator

CI run finished. Artifacts ZIP for the review tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants