Skip to content

Commit b0baa99

Browse files
committed
format.sh
1 parent 7c9043b commit b0baa99

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

py/selenium/webdriver/remote/webelement.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def tag_name(self) -> str:
8686
Returns:
8787
--------
8888
str : The tag name of the element.
89-
89+
9090
Example:
9191
--------
9292
>>> element = driver.find_element(By.ID, 'foo')
@@ -100,7 +100,7 @@ def text(self) -> str:
100100
Returns:
101101
--------
102102
str : The text of the element.
103-
103+
104104
Example:
105105
--------
106106
>>> element = driver.find_element(By.ID, 'foo')
@@ -184,7 +184,7 @@ def get_dom_attribute(self, name) -> str:
184184
----------
185185
name : str
186186
- Name of the attribute to retrieve.
187-
187+
188188
Returns:
189189
-------
190190
str : The value of the attribute.
@@ -347,7 +347,7 @@ def location_once_scrolled_into_view(self) -> dict:
347347
--------
348348
dict: the top lefthand corner location on the screen, or zero
349349
coordinates if the element is not visible.
350-
350+
351351
Example:
352352
--------
353353
>>> loc = element.location_once_scrolled_into_view
@@ -368,7 +368,7 @@ def size(self) -> dict:
368368
Returns:
369369
--------
370370
dict: The width and height of the element.
371-
371+
372372
Example:
373373
--------
374374
>>> size = element.size
@@ -388,7 +388,7 @@ def value_of_css_property(self, property_name) -> str:
388388
Returns:
389389
--------
390390
str : The value of the CSS property.
391-
391+
392392
Example:
393393
--------
394394
>>> value = element.value_of_css_property('color')
@@ -402,7 +402,7 @@ def location(self) -> dict:
402402
Returns:
403403
--------
404404
dict: The x and y coordinates of the element.
405-
405+
406406
Example:
407407
--------
408408
>>> loc = element.location
@@ -418,7 +418,7 @@ def rect(self) -> dict:
418418
Returns:
419419
--------
420420
dict: The size and location of the element.
421-
421+
422422
Example:
423423
--------
424424
>>> rect = element.rect
@@ -432,7 +432,7 @@ def aria_role(self) -> str:
432432
Returns:
433433
--------
434434
str : The ARIA role of the element.
435-
435+
436436
Example:
437437
--------
438438
>>> role = element.aria_role
@@ -446,7 +446,7 @@ def accessible_name(self) -> str:
446446
Returns:
447447
--------
448448
str : The ARIA Level of the element.
449-
449+
450450
Example:
451451
--------
452452
>>> name = element.accessible_name
@@ -494,7 +494,7 @@ def screenshot(self, filename) -> bool:
494494
Parameters:
495495
----------
496496
filename : str
497-
The full path you wish to save your screenshot to. This
497+
The full path you wish to save your screenshot to. This
498498
should end with a `.png` extension.
499499
500500
Element:

0 commit comments

Comments
 (0)