I was wondering if it is possible to rotate between user agents using selenium 4 and Python. My script create multiple chrome windows, but all of them get the same fake user agent. Anyone knows if at this date you can rotate selenium fake user agents between each window it creates ? Thank you in advance!
update : here is my updated code, even with cdp (thanks for the updated answer)i still get the same UA for every windows. Might be something wrong in my code that blocks me ?
