MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / is_enabled

Method is_enabled

py/selenium/webdriver/remote/webelement.py:232–238  ·  view source on GitHub ↗

Returns whether the element is enabled. Example: is_enabled = element.is_enabled()

(self)

Source from the content-addressed store, hash-verified

230 return self._execute(Command.IS_ELEMENT_SELECTED)["value"]
231
232 def is_enabled(self) -> bool:
233 """Returns whether the element is enabled.
234
235 Example:
236 is_enabled = element.is_enabled()
237 """
238 return self._execute(Command.IS_ELEMENT_ENABLED)["value"]
239
240 def send_keys(self, *value: str) -> None:
241 """Simulates typing into the element.

Calls 1

_executeMethod · 0.95