Which research-validated Selenium practice reduces test maintenance when the application's navigation structure changes frequently?
-
A
Duplicating locators in each test method
-
B
Centralizing navigation actions in a base page class or navigation helper
-
C
Using browser history buttons for navigation
-
D
Recording and replaying browser sessions