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

Method __focus

seleniumbase/core/sb_cdp.py:547–550  ·  view source on GitHub ↗
(self, element)

Source from the content-addressed store, hash-verified

545 )
546
547 def __focus(self, element):
548 return (
549 self.loop.run_until_complete(element.focus_async())
550 )
551
552 def __gui_click(self, element, timeframe=None):
553 element.scroll_into_view()

Callers 1

__add_sync_methodsMethod · 0.95

Calls 1

focus_asyncMethod · 0.80

Tested by

no test coverage detected