/** * Set the text elelent * * @param text */ public FluentWebElement text(String... text) { clear(); if (text.length != 0) { webElement.sendKeys(text[0]); } return this; }
/** * Clear the given parameters elements that are in the list Be careful - only the visible elements * are cleared * * @param fluentObject */ public Fluent clear(FluentWebElement fluentObject) { fluentObject.clear(); return this; }