Skip to content

Commit d1389ce

Browse files
author
ravishankar
committed
[bug-fix] fixed element hide and show issue
1 parent 24f00ad commit d1389ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stool/utils/driver_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def display_element(driver, element, hide=None):
158158
None
159159
"""
160160

161-
hide_or_show = 'block' if hide else 'None'
161+
hide_or_show = 'inline' if hide else 'None'
162162
driver.execute_script(
163163
f"arguments[0].style.display = '{hide_or_show}';", element)
164164

0 commit comments

Comments
 (0)