blob: a672657076c8881ce720b62b6eff8b171426cb68 [file] [log] [blame]
# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import annotations
from typing import TYPE_CHECKING
from crossbench.browsers.attributes import BrowserAttributes
from crossbench.probes.probe import Probe
if TYPE_CHECKING:
from crossbench.browsers.browser import Browser
from crossbench.env import HostEnvironment
class ChromiumProbe(Probe):
def validate_browser(self, env: HostEnvironment, browser: Browser) -> None:
super().validate_browser(env, browser)
self.expect_browser(browser, BrowserAttributes.CHROMIUM_BASED)