📖 API ReferenceAPI DocumentationCoreLocatorsbyValuebyValueLocate elements by the value of their value attribute. const option = byValue('option1');