Self-Logging Selenium WebDriver Tests

Alex Siminiuc
13 min readNov 2, 2019
Photo by Markus Spiske on Unsplash

One of the characteristics of a good Selenium test automation project is the ability of troubleshooting quickly potential problems.

This means finding fast

  • the method (or assertion) that caused the issue
  • what happened before the code execution stopped
  • what is the last visited web page
Alex Siminiuc