class Playwright::Test::Expect
ref: github.com/microsoft/playwright-python/blob/main/playwright/sync_api/__init__.py#L90
def call(actual, message = nil)
def call(actual, message = nil) if actual.is_a?(Locator) LocatorAssertions.new( LocatorAssertionsImpl.new( actual, @timeout_settings.timeout, false, message, ) ) else raise NotImplementedError.new("Only locator assertions are currently implemented") end end
def initialize
def initialize @timeout_settings = TimeoutSettings.new end