Expect outside of acceptAlertButtonSelector button will not automatically be click

iOS: I set up acceptAlertButtonSelector, autoAcceptAlerts also need to set as true, but if it is beyond the scope of the selector button, will automatically be clicking.
But I want that it can not be clicked.
Can set a parameter to control it?

Why not set acceptAlertButtonSelector to empty value before needed screen and restore later?

This is because an alert that sets the Selector (such as a permission popup) may appear on certain pages. But there are so many entry points to these pages, and I can’t script all of them to handle pop-ups.

My expectation is that except for the pop-up button of the selector I set, other buttons should not be clicked automatically.