playwright.controller.InputTextArea
playwright.controller.InputTextArea(self, page, id)
Controller for shiny.express.ui.input_text_area.
Attributes
expect |
Expectation method equivalent to playwright.expect(self.loc) . |
id |
The browser DOM id of the UI element. |
loc |
Playwright Locator of the UI element. |
loc_container |
Playwright Locator for the container of the UI element. |
loc_label |
Playwright Locator for the label of the UI element. |
page |
Playwright Page of the Shiny app. |
Methods
expect_autocomplete |
Expect the autocomplete attribute of the input to have a specific value. |
expect_autoresize |
Expect the autoresize attribute of the input text area to have a specific value. |
expect_cols |
Expect the cols attribute of the input text area to have a specific value. |
expect_height |
Expect the height attribute of the input text area to have a specific value. |
expect_label |
Expect the label of the input to have a specific text. |
expect_placeholder |
Expect the placeholder attribute of the input to have a specific value. |
expect_resize |
Expect the resize attribute of the input text area to have a specific value. |
expect_rows |
Expect the rows attribute of the input text area to have a specific value. |
expect_spellcheck |
Expect the spellcheck attribute of the input to have a specific value. |
expect_value |
Expect the value of the text input to have a specific value. |
expect_width |
Expect the width attribute of the input text area to have a specific value. |
set |
Sets the text value |
expect_autocomplete
playwright.controller.InputTextArea.expect_autocomplete(value, *, timeout=None)
Expect the autocomplete
attribute of the input to have a specific value.
Parameters
value |
AttrValue |
The expected value of the autocomplete attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_autoresize
playwright.controller.InputTextArea.expect_autoresize(value, *, timeout=None)
Expect the autoresize
attribute of the input text area to have a specific value.
Parameters
value |
bool |
The expected value of the autoresize attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_cols
playwright.controller.InputTextArea.expect_cols(value, *, timeout=None)
Expect the cols
attribute of the input text area to have a specific value.
Parameters
value |
AttrValue |
The expected value of the cols attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_height
playwright.controller.InputTextArea.expect_height(value, *, timeout=None)
Expect the height
attribute of the input text area to have a specific value.
Parameters
value |
StyleValue |
The expected value of the height attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_label
playwright.controller.InputTextArea.expect_label(value, *, timeout=None)
Expect the label of the input to have a specific text.
Parameters
value |
PatternOrStr |
The expected text value of the label. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_placeholder
playwright.controller.InputTextArea.expect_placeholder(value, *, timeout=None)
Expect the placeholder
attribute of the input to have a specific value.
Parameters
value |
AttrValue |
The expected value of the placeholder attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_resize
playwright.controller.InputTextArea.expect_resize(value, *, timeout=None)
Expect the resize
attribute of the input text area to have a specific value.
Parameters
value |
Resize | None |
The expected value of the resize attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_rows
playwright.controller.InputTextArea.expect_rows(value, *, timeout=None)
Expect the rows
attribute of the input text area to have a specific value.
Parameters
value |
AttrValue |
The expected value of the rows attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_spellcheck
playwright.controller.InputTextArea.expect_spellcheck(value, *, timeout=None)
Expect the spellcheck
attribute of the input to have a specific value.
Parameters
value |
Literal[‘true’, ‘false’] | None |
The expected value of the spellcheck attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_value
playwright.controller.InputTextArea.expect_value(value, *, timeout=None)
Expect the value of the text input to have a specific value.
Parameters
value |
PatternOrStr |
The expected value of the text input. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
expect_width
playwright.controller.InputTextArea.expect_width(value, *, timeout=None)
Expect the width
attribute of the input text area to have a specific value.
Parameters
value |
StyleValue |
The expected value of the width attribute. |
required |
timeout |
Timeout |
The maximum time to wait for the expectation to be fulfilled. Defaults to None . |
None |
set
playwright.controller.InputTextArea.set(value, *, timeout=None)
Sets the text value
Parameters
value |
str |
The text to set. |
required |
timeout |
Timeout |
The maximum time to wait for the text to be set. Defaults to None . |
None |