class Capybara::SessionConfig
def test_id=(id)
@params [String, Symbol, nil] id Name of the attribute to use as the test id
If `nil` then it will be ignored.
This attribute will be checked by builtin selector types whenever id would normally be checked.
Set an attribue to be optionally matched against the locator for builtin selector types.
#
def test_id=(id) @test_id = id&.to_sym end