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

Method set_content

seleniumbase/fixtures/base_case.py:3421–3423  ·  view source on GitHub ↗

Same as load_html_string(), but "new_page" defaults to False.

(self, html_string, new_page=False)

Source from the content-addressed store, hash-verified

3419 pass
3420
3421 def set_content(self, html_string, new_page=False):
3422 """Same as load_html_string(), but "new_page" defaults to False."""
3423 self.load_html_string(html_string, new_page=new_page)
3424
3425 def load_html_file(self, html_file, new_page=True):
3426 """Loads a local html file into the browser from a relative file path.

Callers 12

set_content_to_frameMethod · 0.95
html_instellenMethod · 0.80
définir_htmlMethod · 0.80
impostare_htmlMethod · 0.80
establecer_htmlMethod · 0.80
HTML_설정Method · 0.80
набор_HTMLMethod · 0.80
HTML設定するMethod · 0.80
设置HTMLMethod · 0.80
definir_htmlMethod · 0.80
test_load_html_stringMethod · 0.80

Calls 1

load_html_stringMethod · 0.95

Tested by 1

test_load_html_stringMethod · 0.64