MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / clone

Method clone

src/com/dtmilano/android/viewclient.py:235–239  ·  view source on GitHub ↗
(cls, view)

Source from the content-addressed store, hash-verified

233
234 @classmethod
235 def clone(cls, view):
236 _map = view.map.copy()
237 # enforce the correct class in the map
238 _map['class'] = cls.getAndroidClassName()
239 return cls(_map, view.device, view.version, view.forceviewserveruse, view.windowId, view.uiAutomatorHelper)
240
241 @classmethod
242 def getAndroidClassName(cls):

Callers 5

testCopyConstructorMethod · 0.80
domManipFunction · 0.80
jquery-3.6.0.jsFile · 0.80
HeFunction · 0.80
jquery.jsFile · 0.80

Calls 1

getAndroidClassNameMethod · 0.45

Tested by 1

testCopyConstructorMethod · 0.64