class Playwright::BrowserType

def connect(

This method attaches Playwright to an existing browser instance. When connecting to another browser launched via `BrowserType.launchServer` in Node.js, the major and minor version needs to match the client version (1.2.3 → is compatible with 1.2.x).
def connect(
      wsEndpoint,
      exposeNetwork: nil,
      headers: nil,
      slowMo: nil,
      timeout: nil)
  raise NotImplementedError.new('connect is not implemented yet.')
end