Home > Mobile >  Excuse me appium resolve first start dealing with the problems of the window
Excuse me appium resolve first start dealing with the problems of the window

Time:01-01

Appium configured each system permissions pull up the app will be popup window, as follows:


Then add to the following a window to handle playing
Def always_allow (driver, number=5) :
For I in range (number) :
Loc=(" xpath ", "//* [@ text='always allow']")
Try:
E=WebDriverWait (driver, 1, 0.5.) until (EC) presence_of_element_located (loc))
Lick of e.c. with our fabrication: ()
Except:
Pass

If __name__=="__main__" :
Always allow function called #
Always_allow (Dr)



Runtime to pull up the app over directly, not to deal with the pop-up

Just as it had been with this paragraph, tried a lot of other online processing plays the way many are the phenomenon of the window, pull up the app will be over after, excuse me each, what is the problem ah
  • Related