How to test hybrid app build by OnsenUI and Anglular

I want test on devices android and ios, browser chrome on android and safari on ios.
But how to find element by id when build android app use cordova

Hi @nhanh2301,

Please use chrome debugger tools for the same.

Open a new chrome browser on your machine, attach a device with app installed in it.

Enable USB debugging for the device.
Type in chrome://inspect in URL box of chrome browser on your machine and press enter.

Thanks,
Sujata

Okay, i will try it. but, I need install protractor or not?

@sujata_kalluri thank you so much, i using

beforeEach(function () {
driver.contexts().then(function(ctxs) {
return driver.context(ctxs[1]);
})
});

and setting heplers/caps.js

autoWebview: true

and wonderful i can get element with class, name and id :smile: