摘要:
1.contextscontexts(self): Returns the contexts within the current session. 返回当前会话中的上下文,使用后可以识别H5页面的控件 :Usage: driver.contexts 用法 driver.contexts 2. cu 阅读全文
摘要:
#coding:utf-81.#reverse方法将列表的元素反向存放,改变了原列表但不返回值x=[5,2,4,3,8]x.reverse() #x[::-1] 不改变list反向排序print x 2.#sort方法用于在原位置对列表进行排序x=[5,2,4,3,8]x.sort()print x 阅读全文