MCPcopy Index your code
hub / github.com/seleniumbase/SeleniumBase / get_origin

Method get_origin

seleniumbase/fixtures/base_case.py:1314–1316  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1312 return current_url
1313
1314 def get_origin(self):
1315 self.__check_scope()
1316 return self.execute_script("return window.location.origin;")
1317
1318 def get_html(self, *args, **kwargs):
1319 return self.get_page_source(*args, **kwargs)

Callers 15

openMethod · 0.95
context_clickMethod · 0.95
press_keysMethod · 0.95
go_backMethod · 0.95
go_forwardMethod · 0.95
set_attributeMethod · 0.95
set_attributesMethod · 0.95
hoverMethod · 0.95
hover_and_clickMethod · 0.95
switch_to_frameMethod · 0.95

Calls 2

__check_scopeMethod · 0.95
execute_scriptMethod · 0.95

Tested by

no test coverage detected