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

Method get_locale_code

seleniumbase/undetected/cdp_driver/tab.py:682–686  ·  view source on GitHub ↗

Get Locale Code

(self)

Source from the content-addressed store, hash-verified

680 return await self.evaluate("document.cookie")
681
682 async def get_locale_code(self):
683 """Get Locale Code"""
684 return await self.evaluate(
685 "navigator.language || navigator.languages[0]"
686 )
687
688 async def is_online(self):
689 """Determine if connected to the Internet"""

Callers

nothing calls this directly

Calls 1

evaluateMethod · 0.95

Tested by

no test coverage detected