2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Browser.isConnected
|
|
|
|
---
|
|
|
|
|
|
|
|
# Browser.isConnected() method
|
|
|
|
|
2023-09-18 09:14:10 +00:00
|
|
|
> Warning: This API is now obsolete.
|
|
|
|
>
|
|
|
|
> Use [Browser.connected](./puppeteer.browser.connected.md).
|
|
|
|
|
2023-09-18 09:05:23 +00:00
|
|
|
Whether Puppeteer is connected to this [browser](./puppeteer.browser.md).
|
2022-07-05 13:41:43 +00:00
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### Signature:
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class Browser {
|
2023-09-18 09:14:10 +00:00
|
|
|
isConnected(): boolean;
|
2022-07-05 13:41:43 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
boolean
|