With a few searches, it looks like the A320 has windows that open (the expectation is that it's the last-resort method to remove smoke in the cockpit, or for escape), but the B787 and A350 do not.
https://scandinaviantraveler.com/en/aviation/ask-the-pilot-c...