In Selenium test automation, what is the primary purpose of implementing a Page Object Model (POM)?
-
A
To speed up test execution by parallelizing tests
-
B
To separate test logic from UI element locators, improving maintainability
-
C
To generate automatic test reports
-
D
To handle browser-specific compatibility issues