Andrey Lushnikov
084cf02119
chore: bump version to v1.17.0-post ( #4468 )
2019-05-24 03:24:53 +03:00
Andrey Lushnikov
1840ef01cc
chore: mark version v1.17.0 ( #4467 )
2019-05-24 03:13:14 +03:00
Jake Causon
90a1032300
fix(network): stringify response headers for intercepted requests ( #4436 )
...
Stringifying the headers was the behaviour before v1.15
References #4379
2019-05-20 11:05:32 +03:00
Andrey Lushnikov
04906494c4
chore: bump version to v1.16.0-post ( #4422 )
2019-05-14 01:47:47 +03:00
Andrey Lushnikov
9f2635c4ac
chore: mark version v1.16.0 ( #4421 )
2019-05-14 01:15:35 +03:00
Joel Einbinder
a3cb16308c
feat: root
option in page.accessibility.snapshot() ( #4318 )
...
Going from `AXNode` -> `ElementHandle` is turning out to be controversial.
This patch instead adds a way to go from `ElementHandle` -> `AXNode`. If the API looks good, I'll add it into Firefox as well.
References #3641
2019-05-09 23:39:42 -07:00
Joel Einbinder
1516e0df21
feat(workers): create workers from service workers and shared workers ( #4397 )
...
This allows users to easily evaluate javascript inside service workers and shared workers by creating a Worker object for them.
2019-05-09 17:29:18 -07:00
Andrey Lushnikov
ef24c69c62
fix(tracing): start without options ( #4388 )
2019-05-09 17:15:33 -07:00
Tony Brix
511dcf9d32
feat(browser): Add browser.isConnected() ( #4403 )
...
Add `browser.isConnected()` to the public api to be able to tell when the browser is connected
fixes https://github.com/smooth-code/jest-puppeteer/pull/237#issuecomment-490260041
2019-05-09 16:24:52 -07:00
Andrey Lushnikov
e2e6b88934
feat(chromium): roll Chromium to r654752 ( #4358 )
...
This roll includes:
- https://crrev.com/653809 - FrameLoader: ignore failing provisional loads entirely
- https://crrev.com/654750 - DevTools: make sure Network.requestWillBeSent is emitted on time for sync xhrs
The FrameLoader patch is the reason behind the test change. It's
actually desirable to fail frame navigation if the frame detaches - and
that's consistent with Firefox.
Fixes #4337
2019-04-28 20:19:01 -07:00
Joel Einbinder
d64f700203
fix(docs): screen readers aren't the only kind of assistive technology ( #4349 )
...
The docs incorrectly implied that screen readers were the only assistive technology to do filtering on the tree.
@alice
2019-04-26 13:40:08 -07:00
Andrey Lushnikov
1e29e5bc0f
chore: bump version to v1.15.0-post ( #4347 )
2019-04-26 00:44:58 -07:00
Andrey Lushnikov
b9f4a95175
chore: mark version v1.15.0 ( #4346 )
2019-04-25 19:25:16 -07:00
Andrey Lushnikov
e3abb0aa32
feat(puppeteer): introduce puppeteer.errors
and puppeteer.devices
( #4312 )
...
These getters are introduced as a more convenient substitute for
a `require('puppeteer/Errors')` and
`require('puppeteer/DeviceDescriptors')`.
This way we can make cross-browser story nicer - a single require
of `puppeteer` or `puppeteer-firefox` fully defines Puppeteer
environment.
2019-04-19 15:33:06 -07:00
John Youngblood
66ff4928eb
docs(api.md): Working link to Linux differences ( #4232 )
...
A link on line 525 is pointing to a undefined branch (`lkcr`) in `chromium.googlesource.com/chromium/src/`. Change it to point to `lkgr` instead, since it's the closest defined branch in name.
2019-04-02 19:15:20 -07:00
Andrey Lushnikov
0adffcc2cb
docs: add table-of-contents to troubleshooting ( #4234 )
...
Drive-by: teach our table-of-contents generator to ignore comments
inside fenced blocks and to de-linkify titles.
2019-04-02 19:08:22 -07:00
Andrey Lushnikov
2c6df6ddd1
chore: bump version to v1.14.0-post ( #4224 )
2019-03-28 22:50:12 -07:00
Andrey Lushnikov
3fa91cace3
chore: mark version v1.14.0 ( #4222 )
2019-03-28 22:33:38 -07:00
Andrey Lushnikov
0d0e620405
docs(api.md): update ElementHandle example ( #4169 )
...
Fix #4150
2019-03-19 12:53:47 -07:00
Vse Mozhet Byt
854b1c0912
feat(executioncontext): support bigints transferring ( #4016 )
...
Refs: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-UnserializableValue
2019-03-15 10:20:48 -07:00
Andrey Lushnikov
27cf8594c2
docs(api.md): add note regarding puppeteer.executablePath() ( #4092 )
...
References #4091
2019-03-14 11:32:44 -07:00
Andrey Lushnikov
808d1bb597
docs(api.md): add links to CDP guide and pptr.dev ( #4159 )
2019-03-13 13:17:10 -07:00
Andrey Lushnikov
1623bef264
test: improve test coverage for Request.continue ( #4096 )
...
Drive-by: add clarification to docs/api.md regarding
chaning "URL".
References #4030
2019-03-05 14:57:15 -08:00
Andrey Lushnikov
7462bdafa1
chore: bump version to v1.13.0-post ( #4115 )
2019-03-04 23:45:18 -08:00
Andrey Lushnikov
77a969419e
chore: mark version v1.13.0 ( #4114 )
2019-03-04 18:39:45 -08:00
Andrey Lushnikov
e3b76b2beb
feat(firefox): support consoleMessage.location() ( #4002 )
2019-02-13 19:56:56 -08:00
Andrey Lushnikov
e1000009a5
docs(api.md): update versions ( #3916 )
2019-02-05 12:46:31 -08:00
Andrey Lushnikov
a760d79c86
chore: bump version to v1.12.2-post ( #3915 )
2019-02-05 12:00:15 -08:00
Andrey Lushnikov
b0afb17b68
chore: mark version v1.12.2 ( #3914 )
2019-02-05 11:38:04 -08:00
Andrey Lushnikov
b0e8084650
chore: bump version to v1.12.1-post ( #3886 )
2019-02-01 12:47:56 -08:00
Andrey Lushnikov
a1abd6c1fc
chore: mark version v1.12.1 ( #3885 )
...
References #3878 .
2019-02-01 12:30:21 -08:00
Andrey Lushnikov
718cdf123e
chore: bump version to v1.12.0-post ( #3876 )
2019-01-31 19:47:16 -08:00
Andrey Lushnikov
7f05a084f1
chore: mark version v1.12.0 ( #3875 )
2019-01-31 19:33:54 -08:00
Andrey Lushnikov
a064a6341b
feat(page): introduce page.setDefaultTimeout ( #3854 )
...
Method `page.setDefaultTimeout` overrides default 30 seconds timeout
for all `page.waitFor*` methods, including navigation and waiting
for selectors.
Fix #3319 .
2019-01-28 17:16:12 -08:00
Joel Einbinder
f2c968fdb8
chore(types): generate our own d.ts file from api.md ( #3744 )
...
Generate `//index.d.ts` file with precise typescript definitions for all of the
Puppeteer API.
2019-01-28 15:12:45 -08:00
Andrey Lushnikov
2061dd4718
fix(page): teach waitForSelector to return null
( #3846 )
...
`page.waitForSelector` should return `null` if waiting for `hidden:
true` and there's no matching node in DOM.
Before this patch, `page.waitForSelector` would return some JSHandle
pointing to boolean value.
2019-01-28 14:24:53 -05:00
Dan Dascalescu
7446550fdb
docs(api.md): fix typo ( #3848 )
2019-01-27 00:37:02 -05:00
Denny
7585e6db9e
docs(api.md): expand puppeteer-core explanation ( #3830 )
2019-01-22 23:25:14 -05:00
Andrey Lushnikov
d346cb57b4
chore: cleanup puppeteer.connect({browserURL}) ( #3766 )
...
This patch:
- renames `browserUrl` into `browserURL`
- cleans up some code
- adds tests for error handling
References #3537
2019-01-14 14:30:03 -08:00
Łukasz Fiszer
15af75f9a2
feat(launcher): add browserUrl option to puppeteer.connect ( #3558 )
...
The `browserURL` option allows to connect to a browser that exposed it's remote debugging protocol on a known port.
Fixes #3537
2019-01-14 13:23:34 -08:00
Andrey Lushnikov
89fc2adff5
fix(page): consoleMessage.location() should work with workers ( #3752 )
...
This patch:
- refactors consoleMessage.location() implementation to
make it work for workers
- re-writes tests to avoid 5 second delay
2019-01-10 18:05:28 -08:00
Tom P
0c867631b0
feat(page): introduce consoleMessage.location() ( #3365 )
...
This patch adds a new consoleMessage.location() method that returns console message origins.
Fixes #3029
2019-01-10 16:51:13 -08:00
Andrey Lushnikov
1e66d332b8
docs(api.md): better documentation for PUPPETEER_DOWNLOAD_HOST ( #3669 )
...
Fix #3635 .
2018-12-17 13:31:32 -08:00
Andrey Lushnikov
8aaca4eb1e
feat(page): introduce "Popup" event ( #3661 )
...
This patch adds a new "popup" event for page.
"Popup" event is fired whenever page opens another page with
given opener.
2018-12-12 17:09:42 -08:00
Andrey Lushnikov
c90392bdf5
feat: introduce page.browserContext() ( #3655 )
2018-12-12 15:08:31 -08:00
Andrey Lushnikov
45c4477e9f
chore: bump version to v1.11.0-post ( #3613 )
2018-11-29 22:38:54 -08:00
Andrey Lushnikov
00b15994a4
chore: mark version v1.11.0 ( #3610 )
2018-11-29 22:11:44 -08:00
Joel Einbinder
a0cbaf39ab
chore(types): lint the api docs with typescript ( #3577 )
2018-11-21 14:49:08 -08:00
Andrey Lushnikov
927d0f443b
feat(page): support waitUntil option for page.setContent
( #3557 )
...
This patch teaches `page.setContent` to await resources in
the new document.
**NOTE**: This patch changes behavior: currently, `page.setContent`
awaits the `"domcontentloaded"` event; with this patch, we can now await
other lifecycle events, and switched default to the `"load"` event.
The change is justified since current behavior made `page.setContent`
unusable for its main designated usecases, pushing our client
to use [dataURL workaround](https://github.com/GoogleChrome/puppeteer/issues/728#issuecomment-334301491 ).
Fixes #728
2018-11-20 15:32:46 -08:00
Vse Mozhet Byt
86e09593bf
docs(api.md): mark optional arguments in signatures ( #3565 )
...
Some `[]` marks were missing.
2018-11-19 12:36:28 -08:00