Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Commit e948d0c

Browse files
RodaxQAGuillaume Delaval
and
Guillaume Delaval
authored
feat: new get render tree keyword (#8)
Co-authored-by: Guillaume Delaval <guillaume.delaval@orange.com>
1 parent 7a4d31d commit e948d0c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎AppiumFlutterLibrary/keywords/_applicationmanagement.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,16 @@ def get_appium_timeout(self):
115115
See `Set Appium Timeout` for an explanation."""
116116
return robot.utils.secs_to_timestr(self._timeout_in_secs)
117117

118+
def get_render_tree(self):
119+
"""
120+
Gets the string representation of the render tree.
121+
122+
Example:
123+
| ${tree} = | Get Render Tree |
124+
| Log | ${tree} |
125+
"""
126+
return self._current_application().execute_script('flutter: getRenderTree')
127+
118128
# Private
119129

120130
def _current_application(self):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /