Press ESC to close

how to implement ai in selenium