Debugging by Printing Texts
This lesson explores how to debug a Selenium test script by printing texts.
We'll cover the following...
We'll cover the following...
Debugging
Debugging means analyzing and removing bugs from the code. In the context of automated functional testing, debugging is a way to find out why a test step did not execute as expected and how we can fix it.
Print text for debugging
A common and widespread tactic of debugging is to print out texts (console.log
statements) ...
...