class Playwright::Video

def path

def path
  if @page.send(:remote_connection?)
    raise 'Path is not available when using browserType.connect(). Use save_as() to save a local copy.'
  end
  wait_for_artifact_and do |artifact|
    artifact.absolute_path
  end
end