How to access popup windows in appium when running test

Have you tried commenting below code and run

autoGrantPermissions: true,
chromeOptions: {
args: [’–disable-popup-blocking’]