@@ -156,7 +156,7 @@ def clear(self) -> None:
156156 def get_property (self , name ) -> str | bool | WebElement | dict :
157157 """Gets the given property of the element.
158158
159- Attributes :
159+ Parameters :
160160 ----------
161161 name : str
162162 - Name of the property to retrieve.
@@ -180,7 +180,7 @@ def get_dom_attribute(self, name) -> str:
180180 :func:`~selenium.webdriver.remote.BaseWebElement.get_attribute`, this
181181 method only returns attributes declared in the element's HTML markup.
182182
183- Attributes :
183+ Parameters :
184184 ----------
185185 name : str
186186 - Name of the attribute to retrieve.
@@ -212,7 +212,7 @@ def get_attribute(self, name) -> str | None:
212212 use :func:`~selenium.webdriver.remote.BaseWebElement.get_dom_attribute` or
213213 :func:`~selenium.webdriver.remote.BaseWebElement.get_property` methods respectively.
214214
215- Attributes :
215+ Parameters :
216216 ----------
217217 name : str
218218 - Name of the attribute/property to retrieve.
@@ -259,7 +259,7 @@ def is_enabled(self) -> bool:
259259 def send_keys (self , * value : str ) -> None :
260260 """Simulates typing into the element.
261261
262- Attributes :
262+ Parameters :
263263 ----------
264264 value : str
265265 - A string for typing, or setting form fields. For setting
@@ -380,7 +380,7 @@ def size(self) -> dict:
380380 def value_of_css_property (self , property_name ) -> str :
381381 """The value of a CSS property.
382382
383- Attributes :
383+ Parameters :
384384 ----------
385385 property_name : str
386386 - The name of the CSS property to get the value of.
@@ -491,7 +491,7 @@ def screenshot(self, filename) -> bool:
491491 --------
492492 bool : True if the screenshot was saved successfully, False otherwise.
493493
494- Attributes :
494+ Parameters :
495495 ----------
496496 filename : str
497497 The full path you wish to save your screenshot to. This
@@ -552,12 +552,12 @@ def __ne__(self, element):
552552 def _execute (self , command , params = None ):
553553 """Executes a command against the underlying HTML element.
554554
555- Attributes :
555+ Parameters :
556556 ----------
557557 command : any
558558 The name of the command to _execute as a string.
559559 params : dict
560- A dictionary of named Attributes to send with the command.
560+ A dictionary of named Parameters to send with the command.
561561
562562 Returns:
563563 -------
@@ -571,7 +571,7 @@ def _execute(self, command, params=None):
571571 def find_element (self , by = By .ID , value = None ) -> WebElement :
572572 """Find an element given a By strategy and locator.
573573
574- Attributes :
574+ Parameters :
575575 ----------
576576 by : selenium.webdriver.common.by.By
577577 The locating strategy to use. Default is `By.ID`. Supported values include:
@@ -600,7 +600,7 @@ def find_element(self, by=By.ID, value=None) -> WebElement:
600600 def find_elements (self , by = By .ID , value = None ) -> List [WebElement ]:
601601 """Find elements given a By strategy and locator.
602602
603- Attributes :
603+ Parameters :
604604 ----------
605605 by : selenium.webdriver.common.by.By
606606 The locating strategy to use. Default is `By.ID`. Supported values include:
0 commit comments