Improvements to Recorder Mode assertions
🔴 SeleniumBase 1.66.14
improves the algorithm for converting recorded assertions into SeleniumBase code. Text assertions that contain the newline character will now be handled correctly. If a text assertion has a :contains
selector, then the text assertion will be changed to an element assertion. Asserted text from multi-line assertions will use self.assert_text()
on the first non-empty line. Asserted text from single-line assertions will use self.assert_exact_text()
. Element assertions will be handled with self.assert_element()
.