fix error for v1.5 not supporting name selector
fix error for v1.5 not supporting name selector

ralfleonir/sample-code,ralfleonir/sample-code,mindheist/sample-code,mindheist/sample-code,mindheist/sample-code,appium/sample-code,appium/sample-code,TikhomirovSergey/sample-code,ralfleonir/sample-code,ralfleonir/sample-code,mindheist/sample-code,TikhomirovSergey/sample-code,appium/sample-code,ralfleonir/sample-code,appium/sample-code,TikhomirovSergey/sample-code,mindheist/sample-code,mindheist/sample-code,ralfleonir/sample-code,TikhomirovSergey/sample-code,TikhomirovSergey/sample-code,TikhomirovSergey/sample-code,mindheist/sample-code,TikhomirovSergey/sample-code,ralfleonir/sample-code,appium/sample-code,TikhomirovSergey/sample-code,mindheist/sample-code,appium/sample-code,ralfleonir/sample-code,appium/sample-code,appium/sample-code