Andrey Lushnikov
c1731dd5d7
Fail gracefully when chromium failed to download ( #430 )
...
Fail gracefully when chromium failed to download
This patch changes both install.js and Launcher.js to inform how
chromium could be downloaded manually.
2017-08-21 13:34:10 -07:00
John Resig
598f439a32
Add Page.content() method. Fixes #406 . ( #419 )
2017-08-21 09:02:30 -07:00
Andrey Lushnikov
6fcf3d9148
Fix grammar in troubleshooting.md
2017-08-20 19:56:04 -07:00
R.Frega
16e1499dbe
doc: fix typo ( #431 )
2017-08-20 19:54:05 -07:00
Andrey Lushnikov
fcb8ab9cd7
Add troubleshooting.md ( #428 )
...
This patch adds troubleshooting.md and starts referring to it if puppeteer
fails to launch chromium.
2017-08-20 19:46:13 -07:00
Andrey Lushnikov
a5eca57f4a
Add proxy server example ( #427 )
2017-08-20 17:13:11 -07:00
Vse Mozhet Byt
281db8fecc
doc: change ambiguous phrase in api.md ( #410 )
2017-08-20 16:44:52 -07:00
Andrey Lushnikov
292c7a237f
doc: remove mentions of removed Boxy mixin ( #425 )
...
Fixes #399 .
2017-08-20 16:03:30 -07:00
Andrey Lushnikov
6a35c97c7f
doc: fix descriptions of certain page methods ( #424 )
...
This patch fixes descriptions of:
- page.click()
- page.focus()
- page.hover()
Fixes #397
2017-08-20 16:03:14 -07:00
Vse Mozhet Byt
6581416897
doc: fix some nits in code examples from api.md ( #407 )
...
* Replace let with const in examples when appropriate.
* Unify spacing.
* Fix possible copy-paste artifacts.
* Eliminate one unhandled promise rejection ('Target closed').
2017-08-20 14:50:24 -07:00
Florian Reuschel
3b03fdd2d0
example 'block images' - make extension check case insensitive ( #401 )
2017-08-20 14:33:22 -07:00
Vse Mozhet Byt
9ede3144c5
doc: fix some links in api.md ( #400 )
2017-08-20 14:32:53 -07:00
Andrey Lushnikov
ab125f6a69
doc: Fix return type in response.text()
2017-08-20 14:32:14 -07:00
AJ Jordan
e8b4288623
readme: fix missing word ( #414 )
2017-08-20 12:43:15 -07:00
Daniela Borges Matos de Carvalho
caa6f813a8
docs: note headless flag defaults to true ( #332 )
...
* Replace headless: false with headless: true
* fix: suggestions to improve docs
2017-08-20 12:40:29 -07:00
Vse Mozhet Byt
7796ca50ee
examples: replace let with const ( #403 )
2017-08-20 12:38:10 -07:00
Vse Mozhet Byt
8c245eef4e
doc: fix code examples in CONTRIBUTING.md ( #402 )
...
* fix `ReferenceError: Invalid left-hand side in assignment` errors
* add variable declarations
* unify spacing with examples in the README.md
2017-08-19 17:33:26 -07:00
Vse Mozhet Byt
970e9c4b35
doc: fix copy-paste artefacts ( #394 )
2017-08-19 10:04:02 -07:00
Vse Mozhet Byt
f8515013ab
doc: remove a link to a deleted example ( #392 )
...
Refs: https://github.com/GoogleChrome/puppeteer/pull/221
2017-08-19 09:28:58 -07:00
jakubsadura
628921950f
README: Fix a typo ( #385 )
2017-08-18 16:49:58 -07:00
Andrey Lushnikov
6cc274135c
Introduce page.emulateMedia method ( #383 )
...
Emulating `screen` media would force `page.pdf()` to print with `screen`
media.
Fixes #312
2017-08-18 16:49:02 -07:00
Brikou CARRE
8f43befcc9
Make prettier JS snippets ( #377 )
...
* Make prettier JS snippets
* Conform to CS (about curly brace)
* Apply feedback
2017-08-18 16:46:10 -07:00
Eric Bidelman
ae3fedfa91
readme: start of useful debugging tips ( #352 )
...
* readme: start of useful debugging tips
* feedback
2017-08-18 11:03:35 -07:00
Ken
500b956c84
#366 - tone of logo surface from light source ( #369 )
...
This is a minor cosmetic update on Puppeteer's logo. The rectangle surface at lower left corner seems to have the wrong shade, base on the scene's light source. Below are the original and the updated ones. Of course, if the designer intentionally wants to make the design asymmetric then this is irrelevant.
2017-08-18 10:21:37 -07:00
Andrey Lushnikov
d71feb63d0
Determine failed navigation based on Frame.unreachedURL ( #365 )
...
This patch starts using frame.unreachedURL property from
frameNavigated event to determine if the page navigation
was successful.
2017-08-17 23:24:16 -07:00
Andrey Lushnikov
ae14c1eee4
Use randomized folder names for user profile directories ( #364 )
...
This will make it much harder for puppeteer browsers to collide
on profile directories.
Fixes #360
2017-08-17 23:18:08 -07:00
Pavel Feldman
127f3966d7
Allow capturing transparent screenshots ( #354 )
...
This patch adds `omitBackground` option to the `page.screenshot` method.
Fixes #344
2017-08-17 21:11:39 -07:00
JoelEinbinder
1ca7849017
Mute audio in headless, closes #350 ( #355 )
...
This patch adds the `--mute-audio` flag if chromium is launched in headless
mode.
2017-08-17 20:54:16 -07:00
JoelEinbinder
b9c7c367ef
Add Serializable type into the docs ( #318 )
2017-08-17 20:24:11 -07:00
Divjot Singh
16e190b239
Indent the code in README.md ( #319 )
2017-08-17 19:54:51 -07:00
JoelEinbinder
f3143a3d60
Fix flaky test ( #351 )
...
The patch awaits the in-flight 'waitForElement'
2017-08-17 19:48:25 -07:00
JoelEinbinder
5f0afd5547
Move uploadFiles onto ElementHandle ( #348 )
...
This patch:
- removes the `page.uploadFile` method
- adds `elementHandle.uploadFile` method.
Motivation: `elementHandle.uploadFile` is rarely used, so it doesn't worth it
to keep it on page.
2017-08-17 14:53:37 -07:00
Piper Chester
ad1b292b6d
install.js: refactor to template string ( #340 )
2017-08-17 11:56:11 -07:00
Noriaki UCHIYAMA
21aa0a2390
example 'block images' - fix typo and add other extensions ( #334 )
...
* fix typo and add extensions to example 'block images'
* fix code style, keep the newline at EOF
2017-08-17 09:39:40 -07:00
Simone Sanfratello
2655f20fd3
docs: fix link to ElementHandle ( #345 )
2017-08-17 09:26:10 -07:00
Satoshi Takeda
e7356bf611
docs: fix typo in event: 'load'
section ( #325 )
...
fix `JavaScriot` to `JavaScript`
2017-08-16 23:27:19 -07:00
Chandan Rai
e5876c7b4e
corrected minor typos ( #322 )
2017-08-16 21:57:23 -07:00
Andrey Lushnikov
7cef3d7ce7
Teach page.pdf to respect printBackground argument ( #307 )
...
References #301
2017-08-16 15:08:31 -07:00
Paul Irish
a93377fc22
readme: migrate from travis-ci .com to .org ( #297 )
2017-08-16 12:51:41 -07:00
edgar c
3cc5ba4a6f
update code example: setRequestInterceptionEnabled ( #294 )
2017-08-16 11:19:13 -07:00
Jonathan Garbee
da53218107
Fix doc on pdf method. Minor addition to PDF path option docs. ( #292 )
2017-08-16 11:11:40 -07:00
Paul Irish
92e64e2354
docs: recommendation of canary if Chrome is preferred ( #293 )
2017-08-16 11:09:18 -07:00
Andrey Lushnikov
3ce173c16b
Roll chromium to r494755 ( #286 )
...
Fixes #285 .
2017-08-16 07:21:26 -07:00
Andrey Lushnikov
0a190ebec9
Rename 'remoteDebuggingURL' into 'browserWSEndpoint' ( #272 )
2017-08-16 01:10:55 -07:00
Andrey Lushnikov
44c15220f9
Rename ElementHandle.release into ElementHandle.dispose ( #284 )
...
The ElementHandle.release feels related to ElementHandle.click.
The dispose is a more clear name.
2017-08-16 00:49:20 -07:00
JoelEinbinder
3c2aaaaeb0
Readme fixup part 1 ( #278 )
2017-08-15 23:04:16 -07:00
Paul Irish
6a1fb26196
Add .npmignore ( #282 )
2017-08-15 22:30:56 -07:00
Pavel Feldman
9c5c38e49a
Roll chromium to r494685 ( #281 )
2017-08-15 22:10:08 -07:00
Ken
a06d2618bf
readme: minor updates ( #277 )
...
- update links to puppeteer.launch() section of API
- minor fine-tuning of verbiage and small typo
2017-08-15 18:55:20 -07:00
Paul Irish
0a5f7258fd
docs: add FAQ entry ( #276 )
2017-08-15 18:08:19 -07:00