You can just extend this e.g. with adding data to database, sending notifications, extracting specific data format ect...
make sure to also accept your added function when its called in act() https://github.com/gregpr07/browser-use/blob/main/src/contro...