Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extension XCUIApplication {
- func openControlCenter() {
- let down = self.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.999))
- let up = self.coordinate(withNormalizedOffset: CGVector(dx: 0.5, dy: 0.2))
- down.press(forDuration: 0.1, thenDragTo: up)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement