MCPcopy
hub / github.com/MonsterNone/tmall-miao / xpath

Method xpath

modules/device_adapter.py:73–75  ·  view source on GitHub ↗

XPath定位,返回兼容的选择器对象

(self, xpath_str)

Source from the content-addressed store, hash-verified

71 return self._device
72
73 def xpath(self, xpath_str):
74 """XPath定位,返回兼容的选择器对象"""
75 return self._device.xpath(xpath_str)
76
77 def xpath_exists(self, xpath_str):
78 """

Callers 15

open_taobao_searchFunction · 0.80
open_jd_searchFunction · 0.80
close_popupFunction · 0.80
find_view_taskFunction · 0.80
find_item_5_taskFunction · 0.80
close_popupFunction · 0.80
find_time_15_taskFunction · 0.80
find_time_15_search_taskFunction · 0.80
find_item_10_taskFunction · 0.80
do_time_task_energyFunction · 0.80
do_search_task_energyFunction · 0.80
do_10_item_taskFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected