Skip to content

Commit ae26113

Browse files
committed
Get ready for Shadow-DOM support in Firefox 113
1 parent e89b337 commit ae26113

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12858,7 +12858,7 @@ def __get_shadow_element(
1285812858
shadow_root = None
1285912859
if (
1286012860
selenium4_or_newer
12861-
and self.is_chromium()
12861+
and (self.is_chromium() or self.browser == "firefox")
1286212862
and int(self.__get_major_browser_version()) >= 96
1286312863
):
1286412864
try:
@@ -12928,7 +12928,7 @@ def __get_shadow_element(
1292812928
try:
1292912929
if (
1293012930
selenium4_or_newer
12931-
and self.is_chromium()
12931+
and (self.is_chromium() or self.browser == "firefox")
1293212932
and int(self.__get_major_browser_version()) >= 96
1293312933
):
1293412934
if timeout == 0.1:

0 commit comments

Comments
 (0)