正解:D
A static selector is a selector that has fixed values for the attributes of the target element, such as name, id, class, etc. A static selector is appropriate to use when the target element's attributes do not change during runtime, meaning they are always the same regardless of the state of the application or the environment. A static selector is more reliable and faster than a dynamic selector, as it does not require any variables or arguments to identify the target element. A static selector is not suitable for situations where the target element's properties change frequently, such as when the element is generated dynamically, or when the automation requires high flexibility, such as when the element can have different names or ids depending on the input or output data. In those cases, a dynamic selector is preferred, as it can use variables or arguments to adjust the attribute values according to the changes in the target element. References: Dynamic Selectors, Selectors