From 1b812682a06fcb899f373f80e414883cebd10d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Fri, 19 Jan 2024 15:59:38 +0100 Subject: [PATCH] Reword the introduction to fields --- docs/page-objects/fields.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/page-objects/fields.rst b/docs/page-objects/fields.rst index 3e564aed..9a319ee8 100644 --- a/docs/page-objects/fields.rst +++ b/docs/page-objects/fields.rst @@ -5,9 +5,12 @@ Fields ====== A field is a read-only property in a :ref:`page object class ` -that is decorated with :meth:`@field `, is named after a -key of the :ref:`item ` that the page object class returns, and returns -the value for that item key based on :ref:`inputs `. +decorated with :meth:`@field ` instead of +:func:`@property `. + +Each field is named after a key of the :ref:`item ` that the page object +class returns. A field uses the :ref:`inputs ` of its page object class +to return the right value for the matching item key. For example: