What are breakpoints in Selenium WebDriver?

What are breakpoints in Selenium WebDriver?

Hi Junior,

A breakpoint is a basic element of a debugger used to abruptly halt the execution of a running application. Although the WebDriver API does not provide for adding breakpoints programmatically, it is possible to use debugging tools to insert breakpoints in an actual browser session. Breakpoints are set by inserting lines of code that halt the program after reaching the specified line. As soon as a breakpoint is encountered, control returns to the development environment.

To deep-dive into a breakpoint, please go through the following blog How To Use Breakpoints For Debugging In Selenium WebDriver:

1 Like