Which Page Object Model (POM) design principle does Selenium automation best practice advocate?
-
A
Separate test logic from UI interaction code by modeling each page as a class
-
B
Store all locators in a single global constants file
-
C
Write all test steps inline inside test methods without abstraction
-
D
Use only ID locators to ensure maximum stability