chromium/content/public/test/android/javatests/src/org/chromium/content_public/browser/test/transit/HtmlElementSpec.java

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.chromium.content_public.browser.test.transit;

/** Specification of an HTML DOM element to produce an {@link HtmlElement}. */
public class HtmlElementSpec {

    private final String mHtmlId;
    private final String mId;

    public HtmlElementSpec(String id) {
        mHtmlId = id;
        mId = "HTML/#" + id;
    }

    public String getHtmlId() {
        return mHtmlId;
    }

    public String getId() {
        return mId;
    }
}