fix file upload, add config and trim for WebDriver_Element::value() with text node