capybara.werkzeug package¶
Submodules¶
capybara.werkzeug.browser module¶
capybara.werkzeug.driver module¶
capybara.werkzeug.form module¶
capybara.werkzeug.node module¶
-
class
capybara.werkzeug.node.
Node
(driver, native)[source]¶ Bases:
capybara.driver.node.Node
-
all_text
¶ str – All of the text of the node.
-
checked
¶ bool – Whether this node is checked.
-
disabled
¶ bool – Whether this node is disabled.
-
multiple
¶ bool – Whether this is a multi-select node.
-
path
¶ str – An XPath expression describing where on the page the node can be found.
-
readonly
¶ bool – Whether the node is read-only.
-
selected
¶ bool – Whether this node is selected.
-
set
(value)[source]¶ Sets the value of this node.
Parameters: - value (bool | str) – The desired value.
- **options – Driver-specific options for how to set a value on a node.
-
tag_name
¶ str – The tag name of the node.
-
value
¶ str – The value of the node.
-
visible
¶ bool – Whether or not the node is visible.
-
visible_text
¶ str – Only the visible text of the node.
-