What is the role of a Page Object Model (POM) in Selenium test scripting?
-
A
It auto-generates test scripts from page HTML
-
B
It separates page interaction logic from test logic for maintainability
-
C
It records browser actions and replays them
-
D
It generates locators automatically from the DOM