status-desktop/test/ui-pytest/gui/elements/os/mac/button.py

11 lines
158 B
Python

import allure
from .object import NativeObject
class Button(NativeObject):
@allure.step('Click {0}')
def click(self):
self.object.Press()