这是indexloc提供的服务,不要输入任何密码
Skip to content

Listening to Ad Auction Worklet Events #1244

@bjoberg

Description

@bjoberg

Question

Is it possible to add event listeners to Ad Auction Worklet events?

Background

I am trying to write automation tests for my team's Protected Audience integration; however, I am struggling to validate that certain points of the auction workflow have completed. In a perfect world, I would be able to listen and assert for certain auction events within my tests.

I would love to be able to do something like this:

window.addEventListener('adauctionload', handleEvent);
window.addEventListener('adauctionbid', handleEvent);
window.addEventListener('adauctiontoplevelbid', handleEvent);
window.addEventListener('adauctiontoplevelwin', handleEvent);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions