Accessing side click button for Test Automation

To authenticate Apple Pay payment through Mobile Test Automation via Face ID and a side button click if there is a way to automate a process involving Apple Pay where authentication could be performed using a software-based solution accessible through automation.

Is there any way to access the side click button programmatically, using XCTest?

Currently there is no support for pressing the side button on an iOS device: https://developer.apple.com/documentation/xctest/xcuidevice/button

Authenticating Apple Pay using a UI Test is not currently a supported feature

Accessing side click button for Test Automation
 
 
Q