Skip to content

Commit

Permalink
Fix page command on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
bootstraponline committed Dec 24, 2014
1 parent 1f2d10a commit 0585d78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/appium_lib/common/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ def px_to_window_rel opts={}

# @private
def lazy_load_strings
@strings_xml ||= app_strings
# app strings only works on local apps.
# on disk apps (ex: com.android.settings) will error
@strings_xml ||= ignore { app_strings } || {}
end

# Search strings.xml's values for target.
Expand Down

0 comments on commit 0585d78

Please sign in to comment.