Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/streamlit/streamlit
/ click
Method
click
lib/streamlit/testing/v1/element_tree.py:346–348 ·
view source on GitHub ↗
Set the value of the button to True.
(self)
Source
from the content-addressed store, hash-verified
344
return
self
345
346
def
click(self) -> Button:
347
""
"Set the value of the button to True."
""
348
return
self.set_value(True)
349
350
351
@dataclass(repr=False)
Callers
15
BaseColorPicker.test.tsx
File · 0.45
Selectbox.test.tsx
File · 0.45
CopyButton.test.tsx
File · 0.45
Radio.test.tsx
File · 0.45
UploadedFileChip.test.tsx
File · 0.45
Toolbar.test.tsx
File · 0.45
BaseButton.test.tsx
File · 0.45
ColorPicker.test.tsx
File · 0.45
ButtonGroup.test.tsx
File · 0.45
Pagination.test.tsx
File · 0.45
CameraInput.test.tsx
File · 0.45
WebcamComponent.test.tsx
File · 0.45
Calls
1
set_value
Method · 0.95
Tested by
15
selectOption
Function · 0.36
pickOption
Function · 0.36
openPopover
Function · 0.36
test_button
Function · 0.36
test_menu_button
Function · 0.36
test_file_uploader_persists_across_runs
Function · 0.36
test_out_of_order_blocks
Function · 0.36
test_trigger_recursion
Function · 0.36
test_apptest_feedback_value_retained_on_rerun
Function · 0.36
test_dynamic_min_value_resets_value_when_below_new_min
Function · 0.36
test_dynamic_max_value_resets_value_when_above_new_max
Function · 0.36
test_dynamic_bounds_preserves_valid_value
Function · 0.36