verifyElementPresent takes screenshot on step Pass

Screenshots can be taken when your TC encounters warnings. Review your JUnit_Report.xml report to see any Warning messages. The warning message should also have the appropriate screenshot reference so you can see the element’s state at the time of the warning.