Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
docs: improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
clebert committed Nov 6, 2017
1 parent 308e9dd commit 1d91f41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api-references/class.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Instantiates the specified page class when loaded, throws an error otherwise.

The adapter associated with this page object.

**Type:** [`adapter: Adapter`](#type-adapter)
**Type:** [`Adapter`](#type-adapter)

### Instance Method `protected this.findSelf()`

Expand Down
6 changes: 5 additions & 1 deletion docs/api-references/puppeteer-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The method launches a browser instance with given arguments. The browser will be
const browser = await launch();
const page = await browser.newPage();

const adapter = new SeleniumAdapter(browser, page);
const adapter = new PuppeteerAdapter(browser, page);
```

**Parameters:**
Expand All @@ -71,10 +71,14 @@ const adapter = new SeleniumAdapter(browser, page);

The Browser instance associated with this adapter.

**Type:** [`Browser`][puppeteer-class-browser]

### Instance Variable `public this.page`

The Page instance associated with this adapter.

**Type:** [`Page`][puppeteer-class-page]

### Instance Method `public this.open(Page, url, options?)`

```js
Expand Down
2 changes: 1 addition & 1 deletion docs/api-references/selenium-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Please refer to the ["Using the Builder API"][selenium] documentation for instru

The WebDriver instance associated with this adapter.

**Type:** [`driver: WebDriver`][selenium-webdriver]
**Type:** [`WebDriver`][selenium-webdriver]

### Instance Method `public this.open(Page, url)`

Expand Down

0 comments on commit 1d91f41

Please sign in to comment.