MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / highlight_click

Method highlight_click

seleniumbase/fixtures/base_case.py:6553–6563  ·  view source on GitHub ↗

Highlights the element, and then clicks it.

(
        self, selector, by="css selector", loops=3, scroll=True, timeout=None,
    )

Source from the content-addressed store, hash-verified

6551 pass
6552
6553 def highlight_click(
6554 self, selector, by="css selector", loops=3, scroll=True, timeout=None,
6555 ):
6556 """Highlights the element, and then clicks it."""
6557 self.__check_scope()
6558 if not timeout:
6559 timeout = settings.SMALL_TIMEOUT
6560 self.wait_for_element_visible(selector, by=by, timeout=timeout)
6561 if not self.demo_mode:
6562 self.__highlight(selector, by=by, loops=loops, scroll=scroll)
6563 self.click(selector, by=by)
6564
6565 def highlight_update_text(
6566 self,

Callers 13

markeren_klikMethod · 0.45
illuminer_cliquerMethod · 0.45
illuminare_clicMethod · 0.45
resalte_clicMethod · 0.45
강조_클릭Method · 0.45
亮点单击Method · 0.45
destaque_cliqueMethod · 0.45
raw_gui_click.pyFile · 0.45
test_dialog_boxesMethod · 0.45

Calls 4

__check_scopeMethod · 0.95
__highlightMethod · 0.95
clickMethod · 0.95

Tested by 1

test_dialog_boxesMethod · 0.36