From d7f86ee78eefe2094927082209cf79e1ba616be7 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Tue, 10 Oct 2023 20:54:22 +0200 Subject: [PATCH] more form usage documentation (#647) (wip) --- src/site/xdoc/gettingStarted.xml | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/site/xdoc/gettingStarted.xml b/src/site/xdoc/gettingStarted.xml index bfe0cef1fb7..06ea893405b 100644 --- a/src/site/xdoc/gettingStarted.xml +++ b/src/site/xdoc/gettingStarted.xml @@ -81,6 +81,51 @@ public void submittingForm() throws Exception { final HtmlPage page2 = button.click(); } }]]> + + +

+ For filling out a form you first have to find the form elements you like to interact with. +

+ +

+ In addition to all the general ways of finding dom elements (see below) the HtmlForm object + offers some convenient methods to find form elements: +

+ +

+ All these methods are working based on a list of all dom elements associated with this form - + this list includes all descendants of the form element AND all other elements associated to + this form using the 'form' attribute. In general the method HtmlForm.getElements() builds this + list and all other methods using this list as base for more filtering. +

+
+ + +

+ Todo +

+
+ + +

+ Todo +

+