Random fingerprint doesn't work with webdriver

Hello. When I close and open Brave browser in manual mode, the fingerprint changes and it is correct, but when I do this with the web driver and run a script, the fingerprint is a fixed value in all modes and does not change at all. Why is this and how can I solve the problem?