seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
4.67k stars 929 forks source link

Add new methods for text assertions #1710

Closed mdmintz closed 1 year ago

mdmintz commented 1 year ago

Add new methods for text assertions

self.wait_for_exact_text_not_visible(text, selector="html", by="css selector", timeout=None)

self.assert_exact_text_not_visible(text, selector="html", by="css selector", timeout=None)

(Where timeout=None means the default timeout should be used.)

Those methods are pretty much the same, but default timeouts are slightly different.

mdmintz commented 1 year ago

Released in 4.12.3 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.12.3