Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ bool_to_js_bool
Function
bool_to_js_bool
playwright/_impl/_locator.py:949–950 ·
view source on GitHub ↗
(value: bool)
Source
from the content-addressed store, hash-verified
947
948
949
def
bool_to_js_bool(value: bool) -> str:
950
return
"true"
if
value
else
"false"
951
952
953
def
get_by_role_selector(
Callers
2
__init__
Method · 0.85
get_by_role_selector
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected