1👍
✅
You should be able to use the is_displayed
method like so:
self.assertTrue(
self.browser.find_element_by_css_selector('div.popover').is_displayed())
This will check that it’s actually visible. You might end up needing to use something that waits for it to be displayed since the JS that displays it may not have been executed by the time is_displayed
is called.
Source:stackexchange.com