Interesting method. Maybe element location by `name` attribute in `getFieldPosition` method can be simplified and xpath query replaced by `getElementsByName` if there is such a method.