Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pass descriptor into API functions #129

Merged
merged 5 commits into from
Aug 15, 2017

Conversation

AndreyBelym
Copy link
Contributor

@AndreyBelym AndreyBelym commented Aug 14, 2017

@AndreyBelym AndreyBelym changed the title V1.4.0 Allow to pass descriptor into API functions Aug 14, 2017
API.md Outdated

| Param | Type | Description |
| --- | --- | --- |
| pageTitle | <code>string</code> | The title of the web page opened in the window which descriptor should be retrieved. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| pageTitle | <code>string</code> | The title of the web page opened in a window whose descriptor should be retrieved. |

API.md Outdated
Retrieves a platform-specific window descriptor for the window that contains a web page with the specified title.

**Kind**: global [async](http://tc39.github.io/ecmascript-asyncawait/) function
**Returns**: <code>object</code> - a platform-specific window descriptor that can be used as a window identifier in some other API functions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

**Returns**: <code>object</code> - a platform-specific window descriptor that can be used as a window identifier. 

API.md Outdated
Checks if the specified browser window is maximized.

**Kind**: global [async](http://tc39.github.io/ecmascript-asyncawait/) function
**Returns**: <code>boolean</code> - `true` if the browser window is maximized

| Param | Type | Description |
| --- | --- | --- |
| pageTitle | <code>string</code> | The title of the web page opened in the window to check if this window is maximized. |
| windowId | <code>string</code> &#124; <code>object</code> | The title of the web page opened in the window or a descriptor returned by findWindow to check if this window is maximized. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| windowId | <code>string</code> &#124; <code>object</code> | The title of the web page opened in the window or a descriptor returned by findWindow. |

@AlexanderMoskovkin
Copy link
Contributor

Please add id of issues that will be closed with this PR

@VasilyStrelyaev
Copy link
Contributor

I thought it will be windowDescriptor

API.md Outdated
@@ -1,9 +1,12 @@
## Functions

<dl>
<dt><a href="#close">async close(pageTitle)</a></dt>
<dt><a href="#close">async close(windowId)</a></dt>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API is outdated. Should windowDescriptor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't find a browser if it's installed for a current user only on Windows
4 participants