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