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

Method set_locale

seleniumbase/core/sb_cdp.py:1854–1856  ·  view source on GitHub ↗

(Settings will take effect on the next page load)

(self, locale)

Source from the content-addressed store, hash-verified

1852 self.loop.run_until_complete(self.page.set_download_path(path))
1853
1854 def set_locale(self, locale):
1855 """(Settings will take effect on the next page load)"""
1856 self.loop.run_until_complete(self.page.set_locale(locale))
1857
1858 def set_local_storage_item(self, key, value):
1859 js_code = """localStorage.setItem('%s','%s');""" % (key, value)

Callers 1

raw_async.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected