Adding message in Assert.fail()

I’m using Assert.fail to get list of empty elements. I need to add some text message in Assert.fail(errorDivs.get(0).getText()); so I can see that message in report. How can I do that ? When I add …

How to select a drop-down menu value with Selenium using Python?

I need to select an element from a drop-down menu. For example: