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

Method execute_script

seleniumbase/core/sb_cdp.py:1228–1229  ·  view source on GitHub ↗
(self, expression)

Source from the content-addressed store, hash-verified

1226 return self.loop.run_until_complete(self.page.evaluate(expression))
1227
1228 def execute_script(self, expression):
1229 return self.evaluate(expression)
1230
1231 def js_dumps(self, obj_name):
1232 """Similar to evaluate(), but for dictionary results."""

Callers 15

scroll_upMethod · 0.95
scroll_downMethod · 0.95
activate_bootstrapFunction · 0.45
is_bootstrap_activatedFunction · 0.45
activate_driverjsFunction · 0.45
is_driverjs_activatedFunction · 0.45
activate_hopscotchFunction · 0.45
is_hopscotch_activatedFunction · 0.45
activate_introjsFunction · 0.45

Calls 1

evaluateMethod · 0.95

Tested by 3

test_alertsMethod · 0.36
test_alertsMethod · 0.36