@@ -64,42 +64,42 @@ allure serve report/
6464```
6565
6666## Wrapper Methods
67- | Methods | Usage |
68- | -------------- | --------- |
69- | element | ` App.element(self, locator) ` |
70- | elements | ` App.elements(self, locactor) ` |
71- | is_displayed | ` App.is_displayed(self, locator) ` |
72- | is_displayed > elements | ` App.is_displayed(self, locator, index=0) ` |
73- | is_exist | ` App.is_exist(self, locator) ` |
74- | is_exist > elements | ` App.is_exist(self, locator, index=0) ` |
75- | tap | ` App.tap(self, locator) ` |
76- | tap > elements | ` App.tap(self, locator, index=0) ` |
77- | double_tap | ` App.double_tap(self, locator) ` |
78- | double_tap > elements | ` App.double_tap(self, locator, index=0) ` |
79- | click | ` App.click(self, locator) ` |
80- | click > elements | ` App.click(self, locator, index=0) ` |
81- | swipe | ` App.swipe(self, start=locator, dest=locator) ` |
82- | swipe > elements | ` App.swipe(self, start=(locator, 2), dest=(locator, 1)) ` |
83- | send_keys | ` App.send_keys(self, locator, 'text') ` |
84- | send_keys > elements | ` App.send_keys(self, locator, 'text', index=0) ` |
85- | get_screen_size | ` App.get_screen_size(self) ` |
86- | back | ` App.back(self) ` |
87- | close | ` App.close(self) ` |
88- | reset | ` App.reset(self) ` |
89- | launch_app | ` App.send_keys(self, locator, 'text' ` |
90- | tap_by_coordinates | ` App.tap_by_coordinates(self, x=338, y=204) ` |
91- | assert_text | ` App.assert_text(self, 'actual', 'expected') ` |
92- | assert_text > elements | ` App.assert_text(self, 'actual', 'expected', index=0) ` |
93- | assert_size | ` App.assert_size(self, locator, 'more than 1') ` |
94- | | ` App.assert_size(self, locator, 'greater than 1') ` |
95- | | ` App.assert_size(self, locator, 'above 1') ` |
96- | | ` App.assert_size(self, locator, '> 1') ` |
97- | | ` App.assert_size(self, locator, 'less than 1') ` |
98- | | ` App.assert_size(self, locator, 'below 1') ` |
99- | | ` App.assert_size(self, locator, '< 1') ` |
100- | | ` App.assert_size(self, locator, 'equal to 1') ` |
101- | | ` App.assert_size(self, locator, '== 1') ` |
102- | assert_boolean | ` App.assert_boolean(True, True) ` |
103- | swipe_until | ` App.swipe_until(self, locator, start_x=144, start_y=434) ` |
67+ | Methods | Usage |
68+ | -------------- | --------- |
69+ | element | ` App.element(self, locator) ` |
70+ | elements | ` App.elements(self, locactor) ` |
71+ | is_displayed | ` App.is_displayed(self, locator) ` |
72+ | is_displayed > elements | ` App.is_displayed(self, locator, index=0) ` |
73+ | is_exist | ` App.is_exist(self, locator) ` |
74+ | is_exist > elements | ` App.is_exist(self, locator, index=0) ` |
75+ | tap | ` App.tap(self, locator) ` |
76+ | tap > elements | ` App.tap(self, locator, index=0) ` |
77+ | double_tap | ` App.double_tap(self, locator) ` |
78+ | double_tap > elements | ` App.double_tap(self, locator, index=0) ` |
79+ | click | ` App.click(self, locator) ` |
80+ | click > elements | ` App.click(self, locator, index=0) ` |
81+ | swipe | ` App.swipe(self, start=locator, dest=locator) ` |
82+ | swipe > elements | ` App.swipe(self, start=(locator, 2), dest=(locator, 1)) ` |
83+ | send_keys | ` App.send_keys(self, locator, 'text') ` |
84+ | send_keys > elements | ` App.send_keys(self, locator, 'text', index=0) ` |
85+ | get_screen_size | ` App.get_screen_size(self) ` |
86+ | back | ` App.back(self) ` |
87+ | close | ` App.close(self) ` |
88+ | reset | ` App.reset(self) ` |
89+ | launch_app | ` App.send_keys(self, locator, 'text' ` |
90+ | tap_by_coordinates | ` App.tap_by_coordinates(self, x=338, y=204) ` |
91+ | assert_text | ` App.assert_text(self, 'actual', 'expected') ` |
92+ | assert_text > elements | ` App.assert_text(self, 'actual', 'expected', index=0) ` |
93+ | assert_size | ` App.assert_size(self, locator, 'more than 1') ` |
94+ | | ` App.assert_size(self, locator, 'greater than 1') ` |
95+ | | ` App.assert_size(self, locator, 'above 1') ` |
96+ | | ` App.assert_size(self, locator, '> 1') ` |
97+ | | ` App.assert_size(self, locator, 'less than 1') ` |
98+ | | ` App.assert_size(self, locator, 'below 1') ` |
99+ | | ` App.assert_size(self, locator, '< 1') ` |
100+ | | ` App.assert_size(self, locator, 'equal to 1') ` |
101+ | | ` App.assert_size(self, locator, '== 1') ` |
102+ | assert_boolean | ` App.assert_boolean(True, True) ` |
103+ | swipe_until | ` App.swipe_until(self, locator, start_x=144, start_y=434, count=20) ` |
104104
105105![ ] ( https://i.imgur.com/5vjklOb.png )
0 commit comments