Skip to content

Commit bc62a3e

Browse files
committed
Make the bring_to_front() method more powerful
1 parent 826d3b2 commit bc62a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ def bring_to_front(self, selector, by=By.CSS_SELECTOR):
13501350
# Don't run action if can't convert to CSS_Selector for JavaScript
13511351
return
13521352
selector = re.escape(selector)
1353-
script = ("""document.querySelector('%s').style.zIndex = "100";"""
1353+
script = ("""document.querySelector('%s').style.zIndex = '9999';"""
13541354
% selector)
13551355
self.execute_script(script)
13561356

0 commit comments

Comments
 (0)