Skip to content

Commit af2ba5b

Browse files
committed
Increase the bring_to_front() z-index setting
1 parent 40989d1 commit af2ba5b

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
@@ -1859,7 +1859,7 @@ def bring_to_front(self, selector, by=By.CSS_SELECTOR):
18591859
return
18601860
selector = re.escape(selector)
18611861
selector = self.__escape_quotes_if_needed(selector)
1862-
script = ("""document.querySelector('%s').style.zIndex = '9999';"""
1862+
script = ("""document.querySelector('%s').style.zIndex = '999999';"""
18631863
% selector)
18641864
self.execute_script(script)
18651865

0 commit comments

Comments
 (0)