wd.js exporter - correct handling of xpath locator type