Skip to content

Commit dbc8dbc

Browse files
committed
Fix a bug with website tours
1 parent ce5da2d commit dbc8dbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,8 @@ def play_tour(self, name=None, interval=0):
10511051
selector = re.search(
10521052
"[\S\s]+{element: '([\S\s]+)', on: [\S\s]+",
10531053
self._tour_steps[name][1]).group(1)
1054-
self.__wait_for_css_query_selector(
1054+
selector = selector.replace('\\', '')
1055+
self.wait_for_element_present(
10551056
selector, timeout=(settings.SMALL_TIMEOUT))
10561057
except Exception:
10571058
self.__post_messenger_error_message(

0 commit comments

Comments
 (0)