Class: Playwright::APIRequest

Inherits:
PlaywrightApi show all
Defined in:
lib/playwright_api/api_request.rb

Overview

Exposes API that can be used for the Web API testing.

Instance Method Summary collapse

Methods inherited from PlaywrightApi

#initialize, unwrap, wrap

Constructor Details

This class inherits a constructor from Playwright::PlaywrightApi

Instance Method Details

#new_context(baseURL: nil, extraHTTPHeaders: nil, httpCredentials: nil, ignoreHTTPSErrors: nil, proxy: nil, storageState: nil, timeout: nil, userAgent: nil) ⇒ Object

Creates new instances of `APIRequestContext`.

Raises:

  • (NotImplementedError)


6
7
8
9
10
11
12
13
14
15
16
# File 'lib/playwright_api/api_request.rb', line 6

def new_context(
      baseURL: nil,
      extraHTTPHeaders: nil,
      httpCredentials: nil,
      ignoreHTTPSErrors: nil,
      proxy: nil,
      storageState: nil,
      timeout: nil,
      userAgent: nil)
  raise NotImplementedError.new('new_context is not implemented yet.')
end