Method: Playwright::BrowserType#connect

Defined in:
lib/playwright_api/browser_type.rb

#connectObject

This method attaches Playwright to an existing browser instance created via ‘BrowserType.launchServer` in Node.js.

NOTE: The major and minor version of the Playwright instance that connects needs to match the version of Playwright that launches the browser (1.2.3 → is compatible with 1.2.x).

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/playwright_api/browser_type.rb', line 26

def connect
  raise NotImplementedError.new('connect is not implemented yet.')
end