@dhananjay see your appium version:
Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
pls update :-). how you start appium?
After entering the npm commands u have given I am getting this on command prompt
I start Appium manually by clicking directly, sorry I m trobling u, I m begginer so plz cooperate.
@dhananjay try again. start manually appium with debug log level.
I have entered the Appium --log-level debug in command prompt after this I am getting :Uploading…
Sir, no logs are appearing in my consoleUploading…
@dhananjay let’s start from begining
oi… ignore this
I have to operate this alerts, so how I can operate??? https://discuss.appium.io/t/how-to-select-allow-option-please-guide/18505?u=dhananjay
@dhananjay check private messages. let\s go there.
I can’t see the alert dialogue after setting the auto grants permission capability but my code throws NoSuchElementException. Can you please explain why?
@amarKumar little bit not clear.
Making myself a bit more clear. I have an app in which I need to allow the permission for using Camera. My application also asks for the permission to access location for which I took the id of the Allow button of the alert and clicked on it. It worked there. But when I tried the same thing with the Camera permission, it didn’t work. I enabled the auto grants of permissions, the pop-up didn’t come but later on I got NoSuchElement Exception.
use this capability it will allow all the alerts:
also check the url properly on which address ur using is correct or not.
driver = new AndroidDriver(new URL(“http://0.0.0.0:4723/wd/hub”),cap);
@amarKumar so at least auto grant permission works for you. and you do not see permissions. add your “later” code where you meet problem.