Please help me that how to accept pop-ups?

Please help me that how to accept pop-ups?

Hello Dipen,

To achieve same you can use the below command:

driver.switchTo().alert().accept();