playwright.controller.OutputTextVerbatim
playwright.controller.OutputTextVerbatim(self, page, id)
Controller for shiny.express.ui.output_text_verbatim
.
Attributes
id |
The ID of the output control. |
loc |
Playwright Locator of the verbatim text output. |
page |
Playwright Page of the Shiny app. |
Methods
expect_has_placeholder
playwright.controller.OutputTextVerbatim.expect_has_placeholder(
value=False,
*,
timeout=None,
)
Asserts that the verbatim text output has the expected placeholder.
Parameters
value |
bool |
Whether the verbatim text output has a placeholder. |
False |
timeout |
Timeout |
The maximum time to wait for the placeholder to appear. Defaults to None . |
None |
expect_value
playwright.controller.OutputTextVerbatim.expect_value(value, *, timeout=None)
Asserts that the output has the expected value.
Parameters
value |
PatternOrStr |
The expected value. |
required |
timeout |
Timeout |
The maximum time to wait for the value to appear. Defaults to None . |
None |