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

Method get_active_element_css

seleniumbase/core/sb_cdp.py:852–857  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

850 )
851
852 def get_active_element_css(self):
853 from seleniumbase.js_code import active_css_js
854
855 js_code = active_css_js.get_active_element_css
856 js_code = js_code.replace("return getBestSelector", "getBestSelector")
857 return self.loop.run_until_complete(self.page.evaluate(js_code))
858
859 def click(self, selector, timeout=None, scroll=True):
860 if not timeout:

Callers 1

_uc_gui_handle_captcha_Function · 0.45

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected