SYMBOL INDEX (802 symbols across 65 files) FILE: _archived/aircv/__init__.py class CVHandler (line 15) | class CVHandler(object): method show (line 18) | def show(self, img): method imread (line 24) | def imread(self, filename): method imdecode (line 34) | def imdecode(self, img_data): method find_template (line 46) | def find_template(self, im_source, im_search, threshold=template_thres... method find_all_template (line 54) | def find_all_template(self, im_source, im_search, threshold=template_t... method _sift_instance (line 118) | def _sift_instance(self, edge_threshold=100): method sift_count (line 123) | def sift_count(self, img): method find_sift (line 128) | def find_sift(self, im_source, im_search, min_match_count=4): method find_all_sift (line 137) | def find_all_sift(self, im_source, im_search, min_match_count=4, maxcn... method find_all (line 225) | def find_all(self, im_source, im_search, maxcnt=0): method find (line 237) | def find(self, im_source, im_search): method brightness (line 244) | def brightness(self, im): class Aircv (line 262) | class Aircv(object): method __init__ (line 272) | def __init__(self, d): method detection_screen (line 288) | def detection_screen(self): method get_scaling_ratio (line 295) | def get_scaling_ratio(self): method start_get_screen (line 302) | def start_get_screen(self): method stop_get_scren (line 334) | def stop_get_scren(self): method find_template_by_crop (line 339) | def find_template_by_crop(self, img, area=None): method exists (line 359) | def exists(self, img, timeout=timeout, area=None): method click (line 375) | def click(self, img, timeout=timeout, area=None): method click_index (line 392) | def click_index(self, img, index=1, maxcnt=20, timeout=timeout): method long_click (line 411) | def long_click(self, img, duration=None, timeout=timeout, area=None): method swipe (line 428) | def swipe(self, img_from, img_to, duration=0.1, steps=None, timeout=ti... method swipe_points (line 447) | def swipe_points(self, img_list, duration=0.5, timeout=timeout, area=N... method drag (line 468) | def drag(self, img_from, img_to, duration=0.1, steps=None, timeout=tim... method get_point (line 487) | def get_point(self, img, timeout=timeout, area=None): FILE: _archived/init.py class DownloadBar (line 28) | class DownloadBar(progress.bar.PixelBar): method total_size (line 34) | def total_size(self): method current_size (line 38) | def current_size(self): function gen_cachepath (line 42) | def gen_cachepath(url: str) -> str: function cache_download (line 50) | def cache_download(url, filename=None, timeout=None, storepath=None, log... function mirror_download (line 94) | def mirror_download(url: str, filename=None): function app_uiautomator_apk_urls (line 118) | def app_uiautomator_apk_urls(): function parse_apk (line 128) | def parse_apk(path: str): class Initer (line 144) | class Initer(): method __init__ (line 145) | def __init__(self, device: adbutils.AdbDevice, loglevel=logging.DEBUG): method set_atx_agent_addr (line 158) | def set_atx_agent_addr(self, addr: str): method atx_agent_path (line 163) | def atx_agent_path(self): method shell (line 166) | def shell(self, *args, timeout=60): method jar_urls (line 171) | def jar_urls(self): method atx_agent_url (line 184) | def atx_agent_url(self): method minicap_urls (line 205) | def minicap_urls(self): method minitouch_url (line 217) | def minitouch_url(self): method push_url (line 225) | def push_url(self, url, dest=None, mode=0o755, tgz=False, extract_name... method is_apk_outdated (line 240) | def is_apk_outdated(self): method is_atx_agent_outdated (line 276) | def is_atx_agent_outdated(self): method check_install (line 301) | def check_install(self): method _install_uiautomator_apks (line 320) | def _install_uiautomator_apks(self): method _install_jars (line 331) | def _install_jars(self): method _install_atx_agent (line 336) | def _install_atx_agent(self): method setup_atx_agent (line 347) | def setup_atx_agent(self): method check_atx_agent_version (line 361) | def check_atx_agent_version(self): method install (line 373) | def install(self): method uninstall (line 400) | def uninstall(self): FILE: _archived/messagebox.py function retryskipabort (line 12) | def retryskipabort(message, timeout=20): FILE: _archived/ocr/__init__.py class OCRObjectNotFound (line 20) | class OCRObjectNotFound(Exception): class OCR (line 24) | class OCR(object): method __init__ (line 25) | def __init__(self, d): method all (line 34) | def all(self): method __call__ (line 49) | def __call__(self, text): class OCRSelector (line 53) | class OCRSelector(object): method __init__ (line 54) | def __init__(self, server, text=None, textContains=None): method all (line 60) | def all(self): method wait (line 72) | def wait(self, timeout=10): method click (line 92) | def click(self, timeout=10): FILE: _archived/ocr/baiduOCR.py class OCR (line 15) | class OCR(u2OCR): method __init__ (line 16) | def __init__(self, d, app_id, api_key, secrect_key): method all (line 23) | def all(self): method __call__ (line 39) | def __call__(self, text, exact=True): class OCRSelector (line 43) | class OCRSelector(u2OCRSelector): method __init__ (line 44) | def __init__(self, server, text, exact=True): method all (line 50) | def all(self): method get_text (line 59) | def get_text(self, timeout=10): class OCRCustom (line 65) | class OCRCustom(OCR): method __init__ (line 66) | def __init__(self, d, app_id, api_key, secrect_key, options): method get_words (line 70) | def get_words(self): method all (line 75) | def all(self): method get (line 92) | def get(self, option): FILE: _archived/webview.py class WebviewDriver (line 16) | class WebviewDriver(): method __init__ (line 17) | def __init__(self, url): method browser (line 22) | def browser(self): method get_active_tab_list (line 26) | def get_active_tab_list(self): method get_activate_tab (line 38) | def get_activate_tab(self): class BrowserTab (line 42) | class BrowserTab(): method __init__ (line 43) | def __init__(self, tab): method is_activate (line 51) | def is_activate(self): method close (line 57) | def close(self): method _evaluate (line 60) | def _evaluate(self, expression, **kwargs): method _call (line 69) | def _call(self, method, **kwargs): method current_url (line 75) | def current_url(self): method set_current_url (line 78) | def set_current_url(self, url: str): method find_element_by_xpath (line 83) | def find_element_by_xpath(self, xpath: str): method coord_by_xpath (line 91) | def coord_by_xpath(self, xpath: str): method click (line 103) | def click(self, x, y, duration=0.2, tap_count=1): method click_by_xpath (line 108) | def click_by_xpath(self, xpath): method clear_text_by_xpath (line 112) | def clear_text_by_xpath(self, xpath): method send_keys (line 119) | def send_keys(self, text): method screenshot (line 130) | def screenshot(self): function driver (line 141) | def driver(package_name): function chromedriver (line 156) | def chromedriver(): function test_self_driver (line 168) | def test_self_driver(): function runtest (line 188) | def runtest(): function main (line 199) | def main(): FILE: _archived/widget.py function xml2nodes (line 23) | def xml2nodes(xml_content: Union[str, bytes]): function hierarchy_sim (line 52) | def hierarchy_sim(xml1: str, xml2: str): function read_file_content (line 66) | def read_file_content(filename: str) -> bytes: function safe_xmlstr (line 71) | def safe_xmlstr(s): function frozendict (line 75) | def frozendict(d: dict): class Widget (line 86) | class Widget(object): method __init__ (line 91) | def __init__(self, d: "u2.Device"): method wait_timeout (line 99) | def wait_timeout(self): method _get_widget (line 102) | def _get_widget(self, id: str): method _id2url (line 111) | def _id2url(self, id: str): method _eq (line 124) | def _eq(self, precision: float, a, b): method _percent_equal (line 127) | def _percent_equal(self, precision: float, a, b, asize, bsize): method _bounds2rect (line 130) | def _bounds2rect(self, bounds: str): method _compare_node (line 140) | def _compare_node(self, node_a, node_b, size_a, size_b) -> float: method node2string (line 181) | def node2string(self, node: etree.Element): method hybird_compare_node (line 187) | def hybird_compare_node(self, node_a, node_b, size_a, size_b): method _hybird_result_to_score (line 215) | def _hybird_result_to_score(self, obj: Union[list, CompareResult]): method replace_etree_node_to_class (line 226) | def replace_etree_node_to_class(self, root: etree.ElementTree): method compare_hierarchy (line 231) | def compare_hierarchy(self, node, root, node_wsize, root_wsize): method etree_fromstring (line 238) | def etree_fromstring(self, s: str): method node_center_point (line 242) | def node_center_point(self, node) -> Point: method match (line 247) | def match(self, widget: dict, hierarchy=None, window_size: tuple = None): method exists (line 307) | def exists(self, id: str) -> bool: method update_widget (line 310) | def update_widget(self, id, hierarchy, xpath): method wait (line 315) | def wait(self, id: str, timeout=None): method click (line 360) | def click(self, id: str, debug: bool = False, timeout=10): function show_click_position (line 396) | def show_click_position(d: u2.Device, point: Point): function main (line 403) | def main(): FILE: demo_tests/conftest.py function d (line 10) | def d(): function app (line 17) | def app(d: u2.Device): FILE: demo_tests/test_app.py function test_wait_activity (line 11) | def test_wait_activity(d: u2.Device): function test_app_wait (line 19) | def test_app_wait(app: u2.Device): function test_app_start_stop (line 23) | def test_app_start_stop(d: u2.Device): function test_app_clear (line 31) | def test_app_clear(d: u2.Device): function test_app_info (line 36) | def test_app_info(d: u2.Device): function test_auto_grant_permissions (line 42) | def test_auto_grant_permissions(d: u2.Device): function test_session (line 46) | def test_session(d: u2.Device): FILE: demo_tests/test_core.py function get_app_process_pid (line 9) | def get_app_process_pid(d: u2.Device) -> Optional[int]: function kill_app_process (line 18) | def kill_app_process(d: u2.Device) -> bool: function test_uiautomator_keeper (line 26) | def test_uiautomator_keeper(d: u2.Device): function test_debug (line 39) | def test_debug(d: u2.Device): FILE: demo_tests/test_device.py function test_info (line 13) | def test_info(d: u2.Device): function test_dump_hierarchy (line 23) | def test_dump_hierarchy(d: u2.Device): function test_screenshot (line 28) | def test_screenshot(d: u2.Device, tmp_path: Path): function test_settings (line 36) | def test_settings(d: u2.Device): function test_click (line 40) | def test_click(app: u2.Device): function test_swipe_drag (line 47) | def test_swipe_drag(app: u2.Device): function test_swipe_ext (line 59) | def test_swipe_ext(d: u2.Device, direction: str): function test_swipe_ext_inside_box (line 63) | def test_swipe_ext_inside_box(app: u2.Device): function test_press (line 68) | def test_press(d: u2.Device): function test_screen (line 80) | def test_screen(d: u2.Device): function test_orientation (line 85) | def test_orientation(d: u2.Device): function test_traversed_text (line 95) | def test_traversed_text(d: u2.Device): function test_open (line 100) | def test_open(d: u2.Device): function test_toast (line 106) | def test_toast(app: u2.Device): function test_clipboard (line 119) | def test_clipboard(d: u2.Device): function test_push_pull (line 126) | def test_push_pull(d: u2.Device, tmp_path: Path): FILE: demo_tests/test_input.py function test_set_ime (line 9) | def test_set_ime(d: u2.Device): function test_send_keys (line 14) | def test_send_keys(app: u2.Device): function test_send_action (line 39) | def test_send_action(): # TODO FILE: demo_tests/test_selector.py function test_selector_magic (line 12) | def test_selector_magic(): function test_exists (line 20) | def test_exists(app: u2.Device): function test_selector_info (line 27) | def test_selector_info(app: u2.Device): function test_child_by (line 33) | def test_child_by(app: u2.Device): function test_screenshot (line 47) | def test_screenshot(app: u2.Device): function test_center (line 53) | def test_center(app: u2.Device): function test_click_exists (line 58) | def test_click_exists(app: u2.Device): function test_swipe (line 65) | def test_swipe(app: u2.Device, direction: str): function test_pinch_gesture (line 69) | def test_pinch_gesture(app: u2.Device): FILE: examples/adbkit-init/main.js function initDevice (line 12) | function initDevice(device) { FILE: examples/apk_install.py function oppo_verify (line 12) | def oppo_verify(u): function main (line 31) | def main(): FILE: examples/batteryweb/main.py function index (line 11) | def index(): function battery_level (line 16) | def battery_level(ip): FILE: examples/com.codeskyblue.remotecamera/main_test.py function setup_function (line 9) | def setup_function(): function test_simple (line 13) | def test_simple(): FILE: examples/com.netease.cloudmusic/main.py function main (line 6) | def main(): FILE: examples/minitouch.py class Minitouch (line 11) | class Minitouch: method __init__ (line 13) | def __init__(self, d: Device): method _prepare (line 17) | def _prepare(self): method down (line 23) | def down(self, x, y, index: int = 0): method move (line 29) | def move(self, x, y, index: int = 0): method up (line 34) | def up(self, x, y, index: int = 0): method click (line 38) | def click(self, x, y): method pinch_in (line 42) | def pinch_in(self, x, y, radius: int, steps: int = 10): method _reset (line 49) | def _reset(self): method _commit (line 52) | def _commit(self): method _ws_send (line 55) | def _ws_send(self, payload: dict): FILE: examples/multi-thread-example.py function worker (line 15) | def worker(d: u2.Device): FILE: examples/runyaml/run.py function split_step (line 29) | def split_step(text: str): function read_file_content (line 49) | def read_file_content(path: str, mode:str = "r") -> str: function run_step (line 53) | def run_step(cf: bunch.Bunch, app: u2.Device, step: str): function run_conf (line 101) | def run_conf(d, conf_filename: str): function test_entry (line 135) | def test_entry(): FILE: examples/test_simple_example.py function test_simple (line 7) | def test_simple(): FILE: examples/u2iniit-standalone/main.go constant stfBinariesDir (line 17) | stfBinariesDir = "vendor/stf-binaries-master/node_modules" function init (line 19) | func init() { function initUiAutomator2 (line 32) | func initUiAutomator2(device *goadb.Device, serverAddr string) error { function writeFileToDevice (line 74) | func writeFileToDevice(device *goadb.Device, src, dst string, mode os.Fi... function initMiniTouch (line 91) | func initMiniTouch(device *goadb.Device, abi string) error { function initSTFMiniTools (line 96) | func initSTFMiniTools(device *goadb.Device, abi, sdk string) error { function installAPK (line 111) | func installAPK(device *goadb.Device, localPath string) error { function initUiAutomatorAPK (line 127) | func initUiAutomatorAPK(device *goadb.Device) (err error) { function startService (line 141) | func startService(device *goadb.Device) (err error) { function watchAndInit (line 146) | func watchAndInit(serverAddr string) { function main (line 170) | func main() { FILE: examples/u2iniit-standalone/proxyhttp.go type HTTPWSProxy (line 13) | type HTTPWSProxy struct method ServeHTTP (line 31) | func (p *HTTPWSProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewHTTPWSProxy (line 20) | func NewHTTPWSProxy(forwardedAddr string) *HTTPWSProxy { FILE: mobile_tests/conftest.py function d (line 10) | def d(device): function package_name (line 18) | def package_name(): function dev (line 23) | def dev(d: u2.Device, package_name) -> u2.Device: # type: ignore function device (line 51) | def device(request): FILE: mobile_tests/skip_test_image.py function path_ae86 (line 16) | def path_ae86(): function im_ae86 (line 22) | def im_ae86(path_ae86: str) -> np.ndarray: function test_imread (line 28) | def test_imread(im_ae86, path_ae86): function test_image_match (line 50) | def test_image_match(): FILE: mobile_tests/test_push_pull.py function test_push_and_pull (line 10) | def test_push_and_pull(d: u2.Device): FILE: mobile_tests/test_screenrecord.py function test_screenrecord (line 12) | def test_screenrecord(d: u2.Device): FILE: mobile_tests/test_session.py function test_session_function_exists (line 10) | def test_session_function_exists(dev: u2.Device): function test_app_mixin (line 19) | def test_app_mixin(dev: u2.Device, package_name: str): function test_session_app (line 35) | def test_session_app(dev: u2.Device, package_name): function test_session_window_size (line 56) | def test_session_window_size(dev: u2.Device): function test_auto_grant_permissions (line 60) | def test_auto_grant_permissions(dev: u2.Device): FILE: mobile_tests/test_settings.py function test_set_xpath_debug (line 11) | def test_set_xpath_debug(dev: u2.Device): function test_wait_timeout (line 22) | def test_wait_timeout(d: u2.Device): function test_operation_delay (line 33) | def test_operation_delay(dev: u2.Session): FILE: mobile_tests/test_simple.py function test_toast_get_message (line 15) | def test_toast_get_message(dev: u2.Device): function test_scroll (line 32) | def test_scroll(dev: u2.Device): function test_watchers (line 41) | def test_watchers(self): function test_count (line 75) | def test_count(self): function test_get_text (line 86) | def test_get_text(dev): function test_xpath (line 93) | def test_xpath(dev): function test_implicitly_wait (line 103) | def test_implicitly_wait(d): function test_select_iter (line 116) | def test_select_iter(d): function test_plugin (line 128) | def test_plugin(self): function test_send_keys (line 139) | def test_send_keys(dev): FILE: mobile_tests/test_swipe.py function test_swipe_duration (line 9) | def test_swipe_duration(d: u2.Device): FILE: mobile_tests/test_watcher.py function test_watch_context (line 7) | def test_watch_context(dev: u2.Device): function teardown_function (line 15) | def teardown_function(d: u2.Device): FILE: mobile_tests/test_xpath.py function test_get_text (line 12) | def test_get_text(dev: u2.Device): function test_click (line 16) | def test_click(dev: u2.Device): function test_swipe (line 22) | def test_swipe(dev: u2.Device): function test_xpath_query (line 31) | def test_xpath_query(dev: u2.Device): function test_element_all (line 37) | def test_element_all(dev: u2.Device): function test_watcher (line 44) | def test_watcher(dev: u2.Device, request): function test_xpath_scroll_to (line 57) | def test_xpath_scroll_to(dev: u2.Device): function test_xpath_parent (line 64) | def test_xpath_parent(dev: u2.Device): FILE: tests/test_core.py function mock_server (line 13) | def mock_server(): class TestCheckDeviceFileHash (line 22) | class TestCheckDeviceFileHash: method test_toybox_md5sum_success (line 25) | def test_toybox_md5sum_success(self, mock_server): method test_toybox_not_found_fallback_to_md5 (line 46) | def test_toybox_not_found_fallback_to_md5(self, mock_server): method test_hash_mismatch (line 73) | def test_hash_mismatch(self, mock_server): method test_md5_command_also_fails (line 91) | def test_md5_command_also_fails(self, mock_server): FILE: tests/test_import.py function test_import (line 10) | def test_import(): FILE: tests/test_input.py class MockInputMethodMixIn (line 14) | class MockInputMethodMixIn(InputMethodMixIn): method __init__ (line 17) | def __init__(self): method adb_device (line 25) | def adb_device(self): method jsonrpc (line 29) | def jsonrpc(self): method shell (line 32) | def shell(self, args): method _broadcast (line 39) | def _broadcast(self, action, extras=None): method __call__ (line 45) | def __call__(self, **kwargs): function test_send_keys_hides_keyboard_when_using_custom_ime (line 53) | def test_send_keys_hides_keyboard_when_using_custom_ime(): function test_send_keys_fallback_does_not_hide_keyboard (line 76) | def test_send_keys_fallback_does_not_hide_keyboard(): function test_hide_keyboard_method (line 102) | def test_hide_keyboard_method(): FILE: tests/test_logger.py function test_enable_pretty_logging (line 14) | def test_enable_pretty_logging(caplog: pytest.LogCaptureFixture): FILE: tests/test_settings.py function test_settings (line 9) | def test_settings(): FILE: tests/test_utils.py function test_list2cmdline (line 13) | def test_list2cmdline(): function test_inject_call (line 25) | def test_inject_call(): function test_threadsafe_wrapper (line 36) | def test_threadsafe_wrapper(): function test_is_version_compatiable (line 57) | def test_is_version_compatiable(): function test_naturalsize (line 69) | def test_naturalsize(): function test_image_convert (line 76) | def test_image_convert(): function test_depreacated (line 85) | def test_depreacated(): function test_with_package_resource (line 94) | def test_with_package_resource(): FILE: tests/test_xpath.py function test_safe_xmlstr (line 30) | def test_safe_xmlstr(): function test_str2bytes (line 39) | def test_str2bytes(): function test_is_xpath_syntax_ok (line 44) | def test_is_xpath_syntax_ok(): function test_convert_to_camel_case (line 51) | def test_convert_to_camel_case(): function test_strict_xpath (line 55) | def test_strict_xpath(): function test_XPath (line 66) | def test_XPath(): function test_xpath_selector (line 73) | def test_xpath_selector(): function test_xpath_with_instance (line 87) | def test_xpath_with_instance(): function test_xpath_click (line 93) | def test_xpath_click(): function test_xpath_exists (line 107) | def test_xpath_exists(): function test_xpath_wait_and_wait_gone (line 112) | def test_xpath_wait_and_wait_gone(): function test_xpath_get (line 120) | def test_xpath_get(): function test_xpath_all (line 128) | def test_xpath_all(): function test_xpath_element (line 138) | def test_xpath_element(): FILE: uiautomator2/__init__.py function enable_pretty_logging (line 39) | def enable_pretty_logging(level=logging.DEBUG): class _Device (line 49) | class _Device(_BaseClient): method show_touch_trace (line 54) | def show_touch_trace(self, pointer_location: bool = True, show_touches... method window_size (line 65) | def window_size(self): method screenshot (line 70) | def screenshot(self, filename: Optional[str] = None, format="pillow", ... method dump_hierarchy (line 103) | def dump_hierarchy(self, compressed=False, pretty=False, max_depth: Op... method _do_dump_hierarchy (line 130) | def _do_dump_hierarchy(self, compressed=False, max_depth=None) -> str: method implicitly_wait (line 144) | def implicitly_wait(self, seconds: Optional[float] = None) -> float: method pos_rel2abs (line 160) | def pos_rel2abs(self): method _operation_delay (line 183) | def _operation_delay(self, operation_name: str = None): method touch (line 198) | def touch(self): method click (line 234) | def click(self, x: Union[float, int], y: Union[float, int]): method double_click (line 239) | def double_click(self, x, y, duration=0.1): method long_click (line 248) | def long_click(self, x, y, duration: float = .5): method swipe (line 258) | def swipe(self, fx, fy, tx, ty, duration: Optional[float] = None, step... method swipe_points (line 288) | def swipe_points(self, points: List[Tuple[int, int]], duration: float ... method drag (line 307) | def drag(self, sx, sy, ex, ey, duration=0.5): method press (line 315) | def press(self, key: Union[int, str], meta=None): method long_press (line 329) | def long_press(self, key: Union[int, str]): method screen_on (line 346) | def screen_on(self): method screen_off (line 349) | def screen_off(self): method orientation (line 353) | def orientation(self) -> str: method orientation (line 364) | def orientation(self, value: str): method freeze_rotation (line 374) | def freeze_rotation(self, freezed: bool = True): method last_traversed_text (line 378) | def last_traversed_text(self): method clear_traversed_text (line 382) | def clear_traversed_text(self): method last_toast (line 387) | def last_toast(self) -> Optional[str]: method clear_toast (line 390) | def clear_toast(self): method open_notification (line 393) | def open_notification(self): method open_quick_settings (line 396) | def open_quick_settings(self): method open_url (line 399) | def open_url(self, url: str): method exists (line 403) | def exists(self, **kwargs): method clipboard (line 407) | def clipboard(self) -> Optional[str]: method clipboard (line 411) | def clipboard(self, text: str): method set_clipboard (line 414) | def set_clipboard(self, text, label=None): method clear_text (line 422) | def clear_text(self): method send_keys (line 426) | def send_keys(self, text: str): method keyevent (line 441) | def keyevent(self, v): method serial (line 450) | def serial(self) -> str: method __call__ (line 466) | def __call__(self, **kwargs) -> 'UiObject': class _AppMixIn (line 470) | class _AppMixIn(AbstractShell): method session (line 471) | def session(self, package_name: str, attach: bool = False) -> "Session": method _compat_shell_ps (line 485) | def _compat_shell_ps(self) -> str: method _pidof_app (line 494) | def _pidof_app(self, package_name) -> Optional[int]: method app_current (line 508) | def app_current(self): method app_install (line 524) | def app_install(self, data: str): method wait_activity (line 533) | def wait_activity(self, activity, timeout=10) -> bool: method app_start (line 550) | def app_start(self, package_name: str, activity: Optional[str] = None,... method app_wait (line 595) | def app_wait(self, method app_list (line 623) | def app_list(self, filter: str = None) -> List[str]: method app_list_running (line 637) | def app_list_running(self) -> List[str]: method app_stop (line 648) | def app_stop(self, package_name: str): method app_stop_all (line 652) | def app_stop_all(self, excludes=[]): method app_clear (line 667) | def app_clear(self, package_name: str): method app_uninstall (line 671) | def app_uninstall(self, package_name: str) -> bool: method app_uninstall_all (line 680) | def app_uninstall_all(self, excludes=[], verbose=False): method app_info (line 696) | def app_info(self, package_name: str) -> Dict[str, Any]: method app_auto_grant_permissions (line 720) | def app_auto_grant_permissions(self, package_name: str): class _DeprecatedMixIn (line 765) | class _DeprecatedMixIn: # pragma: no cover method wait_timeout (line 767) | def wait_timeout(self): # wait element timeout method wait_timeout (line 771) | def wait_timeout(self, v: Union[int, float]): method click_post_delay (line 775) | def click_post_delay(self): method click_post_delay (line 780) | def click_post_delay(self, v: Union[int, float]): method unlock (line 783) | def unlock(self): method show_float_window (line 790) | def show_float_window(self, show=True): method make_toast (line 795) | def make_toast(self, text, duration=1.0): method toast (line 804) | def toast(self): method set_orientation (line 838) | def set_orientation(self, value: str): class _PluginMixIn (line 843) | class _PluginMixIn: method watch_context (line 844) | def watch_context(self, autostart: bool = True, builtin: bool = False)... method watcher (line 851) | def watcher(self) -> Watcher: method xpath (line 855) | def xpath(self) -> xpath.XPathEntry: method image (line 859) | def image(self): method screenrecord (line 864) | def screenrecord(self): method swipe_ext (line 869) | def swipe_ext(self) -> SwipeExt: class Device (line 873) | class Device(_Device, _AppMixIn, _PluginMixIn, InputMethodMixIn, _Deprec... method clear_text (line 876) | def clear_text(self): method send_keys (line 883) | def send_keys(self, text: str, clear: bool = False): class Session (line 903) | class Session(Device): method __init__ (line 907) | def __init__(self, dev: adbutils.AdbDevice, package_name: str): method running (line 912) | def running(self) -> bool: method pid (line 916) | def pid(self) -> int: method jsonrpc_call (line 919) | def jsonrpc_call(self, method: str, params: Any = None, timeout: float... method restart (line 924) | def restart(self): method close (line 929) | def close(self): method __enter__ (line 934) | def __enter__(self): method __exit__ (line 937) | def __exit__(self, exc_type, exc_val, exc_tb): function connect (line 941) | def connect(serial: Union[str, adbutils.AdbDevice] = None) -> Device: function connect_usb (line 961) | def connect_usb(serial: Optional[str] = None) -> Device: FILE: uiautomator2/__main__.py function cmd_init (line 23) | def cmd_init(args): function cmd_purge (line 37) | def cmd_purge(args): function cmd_copy_assets (line 54) | def cmd_copy_assets(args): function cmd_screenshot (line 66) | def cmd_screenshot(args): function cmd_install (line 72) | def cmd_install(args): function cmd_uninstall (line 78) | def cmd_uninstall(args): function cmd_start (line 89) | def cmd_start(args): function cmd_stop (line 94) | def cmd_stop(args): function cmd_current (line 105) | def cmd_current(args): function cmd_doctor (line 110) | def cmd_doctor(args): function cmd_version (line 122) | def cmd_version(args): function cmd_console (line 127) | def cmd_console(args): function main (line 235) | def main(): FILE: uiautomator2/_input.py class BroadcastResult (line 26) | class BroadcastResult: class InputMethodMixIn (line 36) | class InputMethodMixIn(AbstractShell): method __ime_id (line 46) | def __ime_id(self) -> str: method set_input_ime (line 49) | def set_input_ime(self, enable: bool = True): method is_input_ime_installed (line 66) | def is_input_ime_installed(self) -> bool: method _setup_ime (line 69) | def _setup_ime(self): method _broadcast (line 85) | def _broadcast(self, action: str, extras: Dict[str, str] = {}) -> Broa... method _must_broadcast (line 102) | def _must_broadcast(self, action: str, extras: Dict[str, str] = {}): method send_keys (line 107) | def send_keys(self, text: str): method send_action (line 123) | def send_action(self, code: Union[str, int] = None): method clear_text (line 152) | def clear_text(self): method current_ime (line 156) | def current_ime(self) -> str: method _wait_ime_ready (line 172) | def _wait_ime_ready(self, timeout: float = 5.0) -> bool: method __get_ime_list (line 181) | def __get_ime_list(self) -> List[str]: method hide_keyboard (line 185) | def hide_keyboard(self): method set_fastinput_ime (line 191) | def set_fastinput_ime(self, enable: bool = True): method wait_fastinput_ime (line 195) | def wait_fastinput_ime(self, timeout=5.0): FILE: uiautomator2/_proto.py class Direction (line 6) | class Direction(str, enum.Enum): FILE: uiautomator2/_selector.py class Selector (line 14) | class Selector(dict): method __init__ (line 46) | def __init__(self, **kwargs): method __str__ (line 53) | def __str__(self): method __setitem__ (line 65) | def __setitem__(self, k, v): method __delitem__ (line 74) | def __delitem__(self, k): method clone (line 81) | def clone(self): method child (line 92) | def child(self, **kwargs): method sibling (line 97) | def sibling(self, **kwargs): method update_instance (line 102) | def update_instance(self, i): class UiObject (line 110) | class UiObject(object): method __init__ (line 111) | def __init__(self, session, selector: Selector): method wait_timeout (line 117) | def wait_timeout(self): method exists (line 121) | def exists(self): method info (line 126) | def info(self): method info_list (line 130) | def info_list(self) -> List[Dict]: method screenshot (line 134) | def screenshot(self, display_id: Optional[int] = None) -> Image.Image: method click (line 138) | def click(self, timeout=None, offset=None): method bounds (line 157) | def bounds(self) -> Tuple[int, int, int, int]: method center (line 167) | def center(self, offset=(0.5, 0.5)): method click_gone (line 184) | def click_gone(self, maxretry=10, interval=1.0): method click_exists (line 204) | def click_exists(self, timeout=0) -> bool: method long_click (line 211) | def long_click(self, duration: float = 0.5, timeout=None): method drag_to (line 224) | def drag_to(self, *args, **kwargs): method swipe (line 240) | def swipe(self, direction, steps=10): method gesture (line 271) | def gesture(self, start1, start2, end1, end2, steps=100): method pinch_in (line 289) | def pinch_in(self, percent=100, steps=50): method pinch_out (line 292) | def pinch_out(self, percent=100, steps=50): method wait (line 295) | def wait(self, exists=True, timeout=None): method wait_gone (line 328) | def wait_gone(self, timeout=None): method must_wait (line 339) | def must_wait(self, exists=True, timeout=None): method send_keys (line 344) | def send_keys(self, text): method set_text (line 348) | def set_text(self, text, timeout=None): method get_text (line 355) | def get_text(self, timeout=None): method clear_text (line 360) | def clear_text(self, timeout=None): method child (line 364) | def child(self, **kwargs): method sibling (line 367) | def sibling(self, **kwargs): method child_by_text (line 372) | def child_by_text(self, txt, **kwargs): method child_by_description (line 382) | def child_by_description(self, txt, **kwargs): method child_by_instance (line 394) | def child_by_instance(self, inst, **kwargs): method parent (line 401) | def parent(self): method __getitem__ (line 408) | def __getitem__(self, instance: int): method count (line 429) | def count(self): method __len__ (line 432) | def __len__(self): method __iter__ (line 435) | def __iter__(self): method right (line 453) | def right(self, **kwargs): method left (line 460) | def left(self, **kwargs): method up (line 467) | def up(self, **kwargs): method down (line 474) | def down(self, **kwargs): method __view_beside (line 481) | def __view_beside(self, onsideof, **kwargs): method fling (line 494) | def fling(self): method scroll (line 537) | def scroll(self): FILE: uiautomator2/abstract.py class ShellResponse (line 17) | class ShellResponse(NamedTuple): class AbstractUiautomatorServer (line 23) | class AbstractUiautomatorServer(abc.ABC): method start_uiautomator (line 25) | def start_uiautomator(self): method stop_uiautomator (line 29) | def stop_uiautomator(self): method jsonrpc_call (line 33) | def jsonrpc_call(self, method: str, params: Any = None) -> Any: class AbstractShell (line 38) | class AbstractShell(abc.ABC): method shell (line 40) | def shell(self, cmdargs: Union[List[str], str]) -> ShellResponse: method adb_device (line 45) | def adb_device(self) -> adbutils.AdbDevice: method jsonrpc (line 50) | def jsonrpc(self) -> typing.Any: class AbstractXPathBasedDevice (line 54) | class AbstractXPathBasedDevice(metaclass=abc.ABCMeta): method click (line 56) | def click(self, x: int, y: int): method long_click (line 60) | def long_click(self, x: int, y: int): method send_keys (line 64) | def send_keys(self, text: str): method swipe (line 68) | def swipe(self, fx: int, fy: int, tx: int, ty: int, duration: float): method swipe_ext (line 72) | def swipe_ext(self, direction: Direction, scale: float): method window_size (line 76) | def window_size(self) -> Tuple[int, int]: method dump_hierarchy (line 80) | def dump_hierarchy(self) -> str: method screenshot (line 84) | def screenshot(self) -> Image.Image: FILE: uiautomator2/base.py class _BaseClient (line 21) | class _BaseClient(BasicUiautomatorServer): method __init__ (line 26) | def __init__(self, serial: Optional[Union[str, adbutils.AdbDevice]] = ... method _serial (line 41) | def _serial(self) -> str: method _wait_for_device (line 44) | def _wait_for_device(self, timeout=10) -> adbutils.AdbDevice: method adb_device (line 82) | def adb_device(self) -> adbutils.AdbDevice: method settings (line 86) | def settings(self) -> Settings: method sleep (line 89) | def sleep(self, seconds: float): method shell (line 93) | def shell(self, cmdargs: Union[str, List[str]], timeout=60) -> ShellRe... method info (line 117) | def info(self) -> Dict[str, Any]: method device_info (line 121) | def device_info(self) -> Dict[str, Any]: method wlan_ip (line 138) | def wlan_ip(self) -> Optional[str]: method jsonrpc (line 145) | def jsonrpc(self): method reset_uiautomator (line 162) | def reset_uiautomator(self): method push (line 175) | def push(self, src, dst: str, mode=0o644): method pull (line 186) | def pull(self, src: str, dst: str): FILE: uiautomator2/core.py class MockAdbProcess (line 31) | class MockAdbProcess: method __init__ (line 32) | def __init__(self, conn: adbutils.AdbConnection) -> None: method output (line 51) | def output(self) -> bytes: method wait (line 55) | def wait(self) -> bool: method pool (line 58) | def pool(self) -> Optional[int]: method kill (line 63) | def kill(self): function launch_uiautomator (line 68) | def launch_uiautomator(dev: adbutils.AdbDevice) -> MockAdbProcess: class HTTPResponse (line 77) | class HTTPResponse: method __init__ (line 78) | def __init__(self, content: bytes) -> None: method json (line 81) | def json(self): method text (line 85) | def text(self): class AdbHTTPConnection (line 89) | class AdbHTTPConnection(HTTPConnection): method __init__ (line 90) | def __init__(self, device: adbutils.AdbDevice, port=9008): method connect (line 95) | def connect(self): method __enter__ (line 101) | def __enter__(self) -> HTTPConnection: method __exit__ (line 104) | def __exit__(self, exc_type, exc_value, traceback): function _http_request (line 108) | def _http_request(dev: adbutils.AdbDevice, device_port: int, method: str... function _jsonrpc_call (line 161) | def _jsonrpc_call(dev: adbutils.AdbDevice, device_port: int, method: str... class BasicUiautomatorServer (line 201) | class BasicUiautomatorServer(AbstractUiautomatorServer): method __init__ (line 207) | def __init__(self, dev: adbutils.AdbDevice, device_server_port: int = ... method debug (line 216) | def debug(self) -> bool: method debug (line 220) | def debug(self, value: bool): method start_uiautomator (line 223) | def start_uiautomator(self): method _setup_jar (line 239) | def _setup_jar(self): method _check_device_file_hash (line 248) | def _check_device_file_hash(self, local_file: Union[str, Path], remote... method _wait_ready (line 260) | def _wait_ready(self, launch_timeout=30): method _wait_app_process_ready (line 264) | def _wait_app_process_ready(self, timeout: float): method _check_alive (line 290) | def _check_alive(self) -> bool: method stop_uiautomator (line 297) | def stop_uiautomator(self, wait=True): method jsonrpc_call (line 310) | def jsonrpc_call(self, method: str, params: Any = None, timeout: float... FILE: uiautomator2/exceptions.py class BaseException (line 28) | class BaseException(Exception): class DeviceError (line 32) | class DeviceError(BaseException): ... class AdbShellError (line 33) | class AdbShellError(DeviceError):... class ConnectError (line 34) | class ConnectError(DeviceError):... class HTTPError (line 35) | class HTTPError(DeviceError):... class HTTPTimeoutError (line 36) | class HTTPTimeoutError(HTTPError):... class AdbBroadcastError (line 37) | class AdbBroadcastError(DeviceError):... class UiAutomationError (line 39) | class UiAutomationError(DeviceError):... class InputIMEError (line 40) | class InputIMEError(DeviceError):... class UiAutomationNotConnectedError (line 42) | class UiAutomationNotConnectedError(UiAutomationError):... class InjectPermissionError (line 43) | class InjectPermissionError(UiAutomationError):... #开发者选项中: 模拟点击没有打开 class APKSignatureError (line 44) | class APKSignatureError(UiAutomationError):... class LaunchUiAutomationError (line 45) | class LaunchUiAutomationError(UiAutomationError):... class AccessibilityServiceAlreadyRegisteredError (line 46) | class AccessibilityServiceAlreadyRegisteredError(UiAutomationError):... class RPCError (line 50) | class RPCError(BaseException): class RPCUnknownError (line 53) | class RPCUnknownError(RPCError):... class RPCInvalidError (line 54) | class RPCInvalidError(RPCError):... class HierarchyEmptyError (line 55) | class HierarchyEmptyError(RPCError):... class RPCStackOverflowError (line 56) | class RPCStackOverflowError(RPCError):... class NormalError (line 59) | class NormalError(RPCError): class XPathElementNotFoundError (line 62) | class XPathElementNotFoundError(NormalError):... class SessionBrokenError (line 63) | class SessionBrokenError(NormalError):... #only happens when app quit or... class UiObjectNotFoundError (line 64) | class UiObjectNotFoundError(NormalError):... class AppNotFoundError (line 65) | class AppNotFoundError(NormalError):... FILE: uiautomator2/ext/htmlreport/__init__.py function mark_point (line 20) | def mark_point(im, x, y): class HTMLReport (line 39) | class HTMLReport(object): method __init__ (line 40) | def __init__(self, driver, target_dir='report'): method _copy_assets (line 47) | def _copy_assets(self): method _record_screenshot (line 58) | def _record_screenshot(self, pos=None): method _addtosteps (line 82) | def _addtosteps(self, data): method _flush (line 119) | def _flush(self): method _patch_instance_func (line 124) | def _patch_instance_func(self, obj, name, newfunc): method _patch_class_func (line 132) | def _patch_class_func(self, obj, funcname, newfunc): method _unpatch_func (line 142) | def _unpatch_func(self, obj, funcname): method patch_click (line 148) | def patch_click(self): method unpatch_click (line 167) | def unpatch_click(self): FILE: uiautomator2/ext/htmlreport/assets/simplehttpserver.py function is_port_avaiable (line 11) | def is_port_avaiable(port): function free_port (line 17) | def free_port(): function main (line 26) | def main(): FILE: uiautomator2/ext/info/__init__.py class Info (line 10) | class Info(object): method __init__ (line 11) | def __init__(self, driver, package_name=None): method read_file (line 18) | def read_file(self, filename): method get_basic_info (line 25) | def get_basic_info(self): method get_app_icon (line 33) | def get_app_icon(self): method get_record_info (line 37) | def get_record_info(self): method get_result_info (line 51) | def get_result_info(self): method start (line 70) | def start(self): method write_info (line 74) | def write_info(self): FILE: uiautomator2/ext/perf/__init__.py class Perf (line 28) | class Perf(object): method __init__ (line 29) | def __init__(self, d, package_name=None): method shell (line 40) | def shell(self, *args, **kwargs): method memory (line 44) | def memory(self): method _cpu_rawdata_collect (line 52) | def _cpu_rawdata_collect(self, pid): method cpu (line 73) | def cpu(self, pid): method netstat (line 102) | def netstat(self, pid): method _current_view (line 144) | def _current_view(self, app=None): method _dump_surfaceflinger (line 156) | def _dump_surfaceflinger(self, view): method _fps_init (line 173) | def _fps_init(self): method fps (line 180) | def fps(self, app=None): method collect (line 202) | def collect(self): method continue_collect (line 225) | def continue_collect(self, f): method start (line 254) | def start(self): method stop (line 280) | def stop(self): method csv2images (line 288) | def csv2images(self, src=None, target_dir='.'): FILE: uiautomator2/image.py function color_bgr2gray (line 31) | def color_bgr2gray(image: ImageType): function template_ssim (line 44) | def template_ssim(image_a: ImageType, image_b: ImageType): function cv2crop (line 56) | def cv2crop(im: np.ndarray, bounds: tuple = None): function compare_ssim (line 66) | def compare_ssim(image_a: ImageType, image_b: ImageType, full=False, bou... function compare_ssim_debug (line 74) | def compare_ssim_debug(image_a: ImageType, image_b: ImageType, color=(25... function show_image (line 100) | def show_image(im: Union[np.ndarray, Image.Image]): function pil2cv (line 105) | def pil2cv(pil_image) -> np.ndarray: function pil2base64 (line 115) | def pil2base64(pil_image, format="JPEG") -> str: function cv2pil (line 122) | def cv2pil(cv_image): function iscv2 (line 127) | def iscv2(im): function ispil (line 131) | def ispil(im): function conv2cv (line 135) | def conv2cv(im: Union[np.ndarray, Image.Image]) -> np.ndarray: function conv2pil (line 143) | def conv2pil(im: Union[np.ndarray, Image.Image]) -> Image.Image: function _open_data_url (line 152) | def _open_data_url(data, flag=cv2.IMREAD_COLOR): function _open_image_url (line 164) | def _open_image_url(url: str, flag=cv2.IMREAD_COLOR): function draw_point (line 173) | def draw_point(im: Image.Image, x: int, y: int) -> Image.Image: function imread (line 192) | def imread(data) -> np.ndarray: class ImageX (line 220) | class ImageX(object): method __init__ (line 221) | def __init__(self, d: "uiautomator2.Device"): method send_click (line 230) | def send_click(self, x, y): method getpixel (line 233) | def getpixel(self, x, y): method match (line 241) | def match(self, imdata: Union[np.ndarray, str, Image.Image]): method __wait (line 269) | def __wait(self, imdata, timeout=30.0, threshold=0.8): method wait (line 282) | def wait(self, imdata, timeout=30.0, threshold=0.9): method click (line 287) | def click(self, imdata, timeout=30.0, threshold=0.9): function _main (line 299) | def _main(): FILE: uiautomator2/screenrecord.py function iter_image_from_minicap (line 16) | def iter_image_from_minicap(uri): class Screenrecord (line 29) | class Screenrecord: method __init__ (line 30) | def __init__(self, d: u2.Device): method __call__ (line 38) | def __call__(self, *args, **kwargs): method _iter_minicap (line 42) | def _iter_minicap(self): method _resize_to (line 57) | def _resize_to(self, im, framesize): method _pipe_resize (line 75) | def _pipe_resize(self, image_iter): method _pipe_convert (line 85) | def _pipe_convert(self, raw_iter): method _pipe_limit (line 90) | def _pipe_limit(self, raw_iter): method _run (line 100) | def _run(self): method _start (line 111) | def _start(self, filename: str, fps: int = 20): method stop (line 124) | def stop(self): FILE: uiautomator2/settings.py class Settings (line 10) | class Settings(object): method __init__ (line 12) | def __init__(self, d): method __set_operation_delay (line 49) | def __set_operation_delay(self, value: tuple): method get (line 62) | def get(self, key: str) -> Any: method _set (line 65) | def _set(self, key: str, val: Any): method __setitem__ (line 88) | def __setitem__(self, key: str, val: Any): method __getitem__ (line 91) | def __getitem__(self, key: str) -> Any: method __repr__ (line 96) | def __repr__(self): FILE: uiautomator2/swipe.py class SwipeExt (line 8) | class SwipeExt(object): method __init__ (line 9) | def __init__(self, d): method __call__ (line 16) | def __call__(self, FILE: uiautomator2/utils.py function with_package_resource (line 22) | def with_package_resource(filename: str) -> typing.Generator[pathlib.Pat... function check_alive (line 57) | def check_alive(fn): function cache_return (line 70) | def cache_return(fn): function hooks_wrap (line 84) | def hooks_wrap(fn): function wrap_wait_exists (line 96) | def wrap_wait_exists(fn): function intersect (line 110) | def intersect(rect1, rect2): class Exists (line 120) | class Exists(object): method __init__ (line 122) | def __init__(self, uiobject): method __nonzero__ (line 125) | def __nonzero__(self): method __bool__ (line 129) | def __bool__(self): method __call__ (line 133) | def __call__(self, timeout=0): method __repr__ (line 143) | def __repr__(self): function list2cmdline (line 147) | def list2cmdline(args: Union[str, list, tuple]) -> str: function inject_call (line 153) | def inject_call(fn, *args, **kwargs): function natualsize (line 177) | def natualsize(size: int) -> str: function swipe_in_bounds (line 190) | def swipe_in_bounds(d: "uiautomator2.Device", function thread_safe_wrapper (line 233) | def thread_safe_wrapper(fn: typing.Callable): function is_version_compatiable (line 246) | def is_version_compatiable(expect_version: str, actual_version: str) -> ... function deprecated (line 271) | def deprecated(reason): function image_convert (line 281) | def image_convert(im: Image.Image, format: str): FILE: uiautomator2/watcher.py function _callback_click (line 19) | def _callback_click(el): class WatchContext (line 23) | class WatchContext: method __init__ (line 24) | def __init__(self, d: "uiautomator2.Device", builtin: bool = False): method wait_stable (line 47) | def wait_stable(self, seconds: float = 5.0, timeout: float = 60.0): method when (line 67) | def when(self, xpath: str): method call (line 72) | def call(self, fn: typing.Callable): method click (line 84) | def click(self): method _run (line 87) | def _run(self) -> bool: method _run_callback (line 107) | def _run_callback(self, func, element): method _run_forever (line 111) | def _run_forever(self, interval: float): method start (line 120) | def start(self): method stop (line 131) | def stop(self): method close (line 136) | def close(self): method __enter__ (line 140) | def __enter__(self): method __exit__ (line 143) | def __exit__(self, type, value, traceback): class Watcher (line 148) | class Watcher(): method __init__ (line 149) | def __init__(self, d: "uiautomator2.Device"): method _xpath (line 159) | def _xpath(self) -> XPathEntry: method _dump_hierarchy (line 162) | def _dump_hierarchy(self): method when (line 165) | def when(self, xpath=None): method start (line 168) | def start(self, interval: float = 2.0): method stop (line 181) | def stop(self): method reset (line 198) | def reset(self): method running (line 204) | def running(self) -> bool: method triggering (line 208) | def triggering(self) -> bool: method _watch_forever (line 211) | def _watch_forever(self, interval: float): method run (line 220) | def run(self, source: Optional[PageSource] = None): method _run_watchers (line 233) | def _run_watchers(self, source=None) -> bool: method __call__ (line 273) | def __call__(self, name: str) -> "XPathWatcher": method remove (line 276) | def remove(self, name=None): class XPathWatcher (line 287) | class XPathWatcher(): method __init__ (line 288) | def __init__(self, parent: Watcher, xpath: str, name: str = ''): method when (line 293) | def when(self, xpath: str = None): method call (line 297) | def call(self, func: callable): method click (line 308) | def click(self): method press (line 314) | def press(self, key): FILE: uiautomator2/xpath.py class TimeoutException (line 26) | class TimeoutException(Exception): class XPathError (line 30) | class XPathError(Exception): function safe_xmlstr (line 35) | def safe_xmlstr(s: str) -> str: function string_quote (line 44) | def string_quote(s: str) -> str: function str2bytes (line 49) | def str2bytes(v: Union[str, bytes]) -> bytes: function is_xpath_syntax_ok (line 57) | def is_xpath_syntax_ok(xpath_expression: str) -> bool: function convert_to_camel_case (line 65) | def convert_to_camel_case(s: str) -> str: function strict_xpath (line 78) | def strict_xpath(xpath: str) -> str: class XPath (line 118) | class XPath(str): method __new__ (line 119) | def __new__(cls, value, *args): method __repr__ (line 128) | def __repr__(self): method __and__ (line 131) | def __and__(self, value: 'XPath') -> 'XPathSelector': method joinpath (line 134) | def joinpath(self, subpath: str) -> "XPath": method all (line 139) | def all(self, source: "PageSource"): class PageSource (line 143) | class PageSource: method __init__ (line 144) | def __init__(self, xml_content: str): method parse (line 150) | def parse(data: Union[str, "PageSource"]) -> "PageSource": method root (line 156) | def root(self) -> etree._Element: method find_elements (line 162) | def find_elements(self, xpath: str) -> List["XMLElement"]: class XPathEntry (line 167) | class XPathEntry(object): method __init__ (line 168) | def __init__(self, d: AbstractXPathBasedDevice): method global_set (line 177) | def global_set(self, key, value): method implicitly_wait (line 188) | def implicitly_wait(self, timeout): method wait_timeout (line 193) | def wait_timeout(self): method _watcher (line 197) | def _watcher(self): method get_page_source (line 200) | def get_page_source(self) -> PageSource: method match (line 203) | def match(self, xpath, source=None): method when (line 207) | def when(self, xquery: str): method run_watchers (line 211) | def run_watchers(self, source=None): method watch_background (line 215) | def watch_background(self, interval: float = 4.0): method watch_stop (line 219) | def watch_stop(self): method watch_clear (line 224) | def watch_clear(self): method sleep_watch (line 228) | def sleep_watch(self, seconds): method click (line 236) | def click(self, xpath: str, timeout: Optional[float]=None): method scroll_to (line 251) | def scroll_to( method __call__ (line 285) | def __call__(self, xpath: str, source: Optional[Union[str, PageSource]... class Operator (line 289) | class Operator(str, enum.Enum): class AbstractSelector (line 294) | class AbstractSelector(abc.ABC): method all (line 296) | def all(self, source: PageSource) -> List['XMLElement']: class XPathSelector (line 300) | class XPathSelector(AbstractSelector): method __init__ (line 301) | def __init__(self, value: Union[str, XPath, AbstractSelector]): method copy (line 311) | def copy(self): method create (line 316) | def create(cls, value: Union[str, 'XPathSelector']) -> 'XPathSelector': method __repr__ (line 324) | def __repr__(self): method __and__ (line 330) | def __and__(self, value) -> 'XPathSelector': method __or__ (line 336) | def __or__(self, value) -> 'XPathSelector': method xpath (line 343) | def xpath(self, _xpath: Union[list, tuple, str]) -> 'XPathSelector': method child (line 353) | def child(self, _xpath: str) -> "XPathSelector": method all (line 363) | def all(self, source: PageSource) -> List["XMLElement"]: class DeviceXPathSelector (line 378) | class DeviceXPathSelector(XPathSelector): method __init__ (line 379) | def __init__(self, xpath: Union[str, AbstractSelector], parent: XPathE... method from_parent (line 386) | def from_parent(self, p: XPathSelector): method __and__ (line 392) | def __and__(self, value) -> 'DeviceXPathSelector': method __or__ (line 396) | def __or__(self, value) -> 'DeviceXPathSelector': method fallback (line 400) | def fallback(self, func: Optional[Callable[..., bool]] = None, *args, ... method _global_timeout (line 413) | def _global_timeout(self) -> float: method _get_page_source (line 418) | def _get_page_source(self) -> PageSource: method all (line 426) | def all(self, source: Optional[PageSource] = None) -> List["DeviceXMLE... method exists (line 435) | def exists(self) -> bool: method get (line 438) | def get(self, timeout=None): method get_last_match (line 455) | def get_last_match(self) -> "DeviceXMLElement": method get_text (line 458) | def get_text(self) -> Optional[str]: method set_text (line 470) | def set_text(self, text: str): method wait (line 476) | def wait(self, timeout=None) -> bool: method match (line 486) | def match(self) -> Optional["DeviceXMLElement"]: method wait_gone (line 494) | def wait_gone(self, timeout=None) -> bool: method click_nowait (line 509) | def click_nowait(self): method click (line 514) | def click(self, timeout=None): method click_exists (line 525) | def click_exists(self, timeout=None) -> bool: method long_click (line 534) | def long_click(self): method screenshot (line 538) | def screenshot(self) -> Image.Image: method __getattr__ (line 543) | def __getattr__(self, key: str): class XMLElement (line 556) | class XMLElement(object): method __init__ (line 557) | def __init__(self, elem: etree._Element): method __hash__ (line 565) | def __hash__(self): method __eq__ (line 568) | def __eq__(self, value): method __repr__ (line 571) | def __repr__(self): method get_xpath (line 577) | def get_xpath(self, strip_index: bool = False): method center (line 585) | def center(self): method offset (line 592) | def offset(self, px: float = 0.0, py: float = 0.0): method parent (line 606) | def parent(self, xpath: Optional[str] = None) -> Union["XMLElement", N... method bounds (line 630) | def bounds(self) -> Tuple[int, int, int, int]: method rect (line 642) | def rect(self) -> Tuple[int, int, int, int]: method text (line 651) | def text(self): method attrib (line 655) | def attrib(self) -> Dict[str, str]: method info (line 659) | def info(self) -> Dict[str, Any]: class DeviceXMLElement (line 684) | class DeviceXMLElement(XMLElement): method __init__ (line 685) | def __init__(self, el: XMLElement, parent: XPathEntry): method click (line 689) | def click(self): method long_click (line 696) | def long_click(self): method screenshot (line 703) | def screenshot(self): method swipe (line 710) | def swipe(self, direction: Union[Direction, str], scale: float = 0.6): method scroll (line 721) | def scroll(self, direction: Union[Direction, str] = Direction.FORWARD)... method scroll_to (line 743) | def scroll_to( method percent_bounds (line 755) | def percent_bounds(self, wsize: Optional[tuple] = None): method percent_size (line 767) | def percent_size(self): FILE: uibox/cmd/httpcheck.go function init (line 26) | func init() { function httpcheckRun (line 32) | func httpcheckRun(_ *cobra.Command, args []string) { function checkSite (line 38) | func checkSite(url string, wg *sync.WaitGroup, resultChan chan<- bool, d... function doHttpCheck (line 90) | func doHttpCheck() { FILE: uibox/cmd/nohup.go function init (line 27) | func init() { function nohupRun (line 33) | func nohupRun(_ *cobra.Command, args []string) { FILE: uibox/cmd/root.go function Execute (line 32) | func Execute() { function init (line 39) | func init() { FILE: uibox/main.go function main (line 8) | func main() {