diff --git a/lib/appium_lib/core/ios/xcuitest/search_context.rb b/lib/appium_lib/core/ios/xcuitest/search_context.rb
index <HASH>..<HASH> 100644
--- a/lib/appium_lib/core/ios/xcuitest/search_context.rb
+++ b/lib/appium_lib/core/ios/xcuitest/search_context.rb
@@ -25,8 +25,10 @@ module Appium
           #   # Require appium-xcuitest-driver 2.54.0+
           #   # PR: https://github.com/facebook/WebDriverAgent/pull/707/files
           #   find_elements :class_chain, 'XCUIElementTypeWindow[$name = \"bla$$$bla\"$]'
-          #   find_elements :class_chain, "**/XCUIElementTypeWindow[$name == 'Buttons'$]"
-          #   find_elements :class_chain, "**/XCUIElementTypeStaticText[$name == 'Buttons'$]"
+          #   e = find_element :class_chain, "**/XCUIElementTypeWindow[$name == 'Buttons'$]"
+          #   e.tag_name #=> "XCUIElementTypeWindow"
+          #   e = find_element :class_chain, "**/XCUIElementTypeStaticText[$name == 'Buttons'$]"
+          #   e.tag_name #=> "XCUIElementTypeStaticText"
           #
           def self.extend
             ::Appium::Core::Base::SearchContext.add_finders(class_chain: '-ios class chain')
docs: add examples and tag_name (#<I>)