mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-22 04:49:00 +00:00
workloads/speedometer: Only close tabs on supported devices
Some devices don't have the option to close all tabs so don't error if this element cannot be found.
This commit is contained in:
parent
322f9be2d3
commit
1531ddcdef
Binary file not shown.
@ -110,6 +110,8 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
menu.click();
|
||||
UiObject closetabs =
|
||||
mDevice.findObject(new UiSelector().textContains("Close all tabs"));
|
||||
closetabs.click();
|
||||
if (closetabs.exists()){
|
||||
closetabs.click();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user