How to overcome issue of where intermittently click or tap doesn’t work?
size = driver.manage().window().getSize();
int y=size.height/2;
int x=size.width/2;
Reporter.log("---Tap screen to bring up pause button.", true);
//driver.tap(1, x, y, 500); (sometimes failing with this so tried to change to TouchAction
TouchAction touchAction = new TouchAction(driver);
touchAction.tap(x, y).perform();