Implemented getCssOrXpath() for FileWidget.