JoelEinbinder
ffe5b63dba
chore: refactor Browser.js into seperate files ( #2097 )
...
This patch splits Browser.js into multiple separate files.
2018-02-26 12:10:06 -08:00
Glenn Vandamme
8578283e11
docs(api.md): Fix evaluateOnNewDocument sample syntax error ( #2063 )
2018-02-26 11:41:50 -08:00
Andrey Lushnikov
2a84f9f343
docs(api.md): add link to the v1.1.1 ( #2096 )
2018-02-23 23:02:28 -08:00
Andrey Lushnikov
3c6ed67c2e
chore: bump v1.1.1-post ( #2095 )
...
This patch bumps tip-of-tree version to v1.1.1-post so that puppeteer@next doesn't break once we release v1.1.1 with a fix for `dumpio`
2018-02-23 21:44:45 -08:00
Andrey Lushnikov
223b59254c
feat(ElementHandle): implement ElementHandle.contentFrame() ( #2094 )
...
This patch adds ElementHandle.contentFrame() method that allows
to get a reference to the Frame owned by the iframe.
Fixes #433 .
2018-02-23 21:22:53 -08:00
JoelEinbinder
e2b96df4d7
chore(test): simplify element screenshot tests ( #2093 )
2018-02-23 15:54:26 -08:00
Frankie Bagnardi
56a475f86b
feat: elHandle:screenshot captures full element ( #1787 )
...
feat: make ElementHandle.screenshot work with large elements
This patch increases the viewport size if the element is bigger than
viewport.
Fixes #1779
2018-02-23 14:13:08 -08:00
Eric Bidelman
b07e705dc9
docs(README): mention testing prelease ( #2088 )
2018-02-23 11:17:14 -08:00
Andrey Lushnikov
fc2a10440f
fix(evaluate): throw error when page reloads during page.evaluate. ( #2073 )
...
Fixes #2021 .
2018-02-22 19:10:17 -08:00
Yaniv Efraim
66887743ea
fix(Launcher): fix dumpio bug ( #2071 )
...
This patch fixes `dumpio` launcher option.
Fixes #2046
2018-02-22 19:06:13 -08:00
JoelEinbinder
ee7ebd6e17
docs(README): drop scraping bullet ( #2080 )
2018-02-22 17:49:17 -08:00
Andrey Lushnikov
80078d9526
fix(Connection): swallow all the ws errors after connection's closed ( #2077 )
...
Since ws is closing asynchronously and can yield errors while closing,
we should keep swallowing ws errors after the `ws.close()` method
is called.
2018-02-22 16:23:20 -08:00
Andrey Lushnikov
28f88e8ef9
feat(Chromium): roll Chromium to r538022 ( #2072 )
...
This roll includes:
- https://crrev.com/536535 - using HINTING_FULL by default in headless builds, added command line parameter to override it
2018-02-21 18:21:40 -08:00
Lisa Gagarina
090590a950
docs(api.md): Add more explanation for page.evaluateHandle() ( #1867 )
...
Fixes #2062
2018-02-21 17:11:24 -08:00
JoelEinbinder
d75fdb7098
fix(Browser): wait for the page to close in the browser in page.close ( #2064 )
...
Fixes #1491
2018-02-21 16:08:29 -08:00
Andrey Lushnikov
85081805ea
chore: bump version to 1.1.0-post ( #2043 )
2018-02-16 11:24:21 -08:00
Andrey Lushnikov
fecbbac631
chore: mark version v1.1.0 ( #2041 )
2018-02-16 09:16:40 -08:00
Andrey Lushnikov
fc94f98247
feat(Targets): expose browser target ( #2036 )
...
This patch exposes "browser" target to the list of targets.
2018-02-15 13:24:24 -08:00
Andrey Lushnikov
e8a085ccfb
feat(appMode): support pipes for appMode ( #2032 )
...
This patch starts using pipes as a transport to
the browser instance instead of websocket.
2018-02-14 17:51:29 -08:00
Vse Mozhet Byt
3656cc227f
docs(api.md): fix nits in securityDetails description ( #2023 )
2018-02-14 16:37:40 -08:00
Andrey Lushnikov
43c0feb2f2
fix(Network): fulfill security details for response redirects ( #2025 )
...
This patch:
- starts fulfilling security details for redirect responses
- changes `response.securityDetails()` to return null if the response
is served over non-secure connection
2018-02-14 16:08:20 -08:00
Andrey Lushnikov
4a53bca6b0
feat(Chromium): roll Chromium to r536395 ( #2024 )
...
This roll includes:
- http://crrev.com/536370 - DevTools: allow remote debugging chrome over pipe instead of the port.
2018-02-13 17:11:43 -08:00
Andrey Lushnikov
ee5ec3e630
test: await browser closing in tests ( #2022 )
2018-02-13 14:39:13 -08:00
Andrey Lushnikov
ae22ef30b3
feat(ExecutionContext): introduce ExecutionContext.frame() ( #1972 )
...
This patch introduces ExecutionContext.frame() that returns Frame
associated with this Execution Context.
This allows to associate console messages with the originating frame,
if any.
2018-02-13 14:02:44 -08:00
Kiko Beats
885c93a927
docs(troubleshooting): Add AWS Lambda solution ( #2003 )
2018-02-13 13:47:06 -08:00
Tomáš Trnka
856c431914
feat(Network): introduce response.securityDetails() method ( #1880 )
...
This patch:
- introduces `SecurityDetails` class that exposes a set of fields that describe properties of secure connection
- introduces method `response.securityDetails()` that returns an instance of `SecurityDetails` object.
2018-02-13 11:26:18 -08:00
JoelEinbinder
700244a29a
test: dont race against the mutation observer ( #2016 )
2018-02-13 11:00:38 -08:00
JoelEinbinder
1b6ee37137
fix(test): merge _pressedKeys test into the .repeat test ( #2017 )
2018-02-13 10:59:29 -08:00
travch
f3ba436239
Fix: Remove key codes from _pressedKeys Set after keyboard.up() is called ( #1928 )
...
keyboard.down() and keyboard.up() both use the _pressedKeys Set, however keyboard.down() adds and searches for the key code, whereas keyboard.up() attempts to delete based on the key rather than the key code.
Fixes #1901
2018-02-12 17:25:38 -08:00
Drew Diamantoukos
b275e66594
chore: Spelling and Markdown Consistency ( #1998 )
...
- Adding missing language tags to markdown code blocks.
- Fixed various spelling mistakes my IDE complained to me about.
2018-02-08 22:59:46 -05:00
Andrey Lushnikov
070243e4b6
docs(CONTRIBUTING): update contributing.md ( #1973 )
2018-02-08 00:59:11 -05:00
Andrew Collins
ac1b9a0eb0
feat(Page): add setCacheEnabled(enabled)
to Page object ( #1609 )
...
This change adds in the `Page.setCacheEnabled(enabled)` method to toggle ignoring cache for each request.
Fixes #1556 .
2018-02-08 00:58:48 -05:00
Olivier Tille
18a1fb9385
docs(README): Correcting Chrome dependency size ( #1946 )
...
This patch corrects chromium binary size in README.md.
2018-02-07 18:01:40 -05:00
JoelEinbinder
cde6d6c4d0
docs: add the word the
everywhere ( #1988 )
2018-02-07 17:20:28 -05:00
Andrey Lushnikov
a363a733b7
feat: Introduce BrowserFetcher class ( #1983 )
...
This patch introduces `BrowserFetcher` class that manages
downloaded versions of products.
This patch:
- shapes Downloader API to be minimal yet usable for our needs. This
includes removing such methods as `Downloader.supportedPlatforms` and
`Downloader.defaultRevision`.
- makes most of the fs-related methods in Downloader async. The only
exception is the `Downloader.revisionInfo`: it has stay sync due to the
`pptr.executablePath()` method being sync.
- updates `install.js` and `utils/check_availability.js` to use new API
- finally, renames `Downloader` into `BrowserFetcher`
Fixes #1748 .
2018-02-07 12:31:53 -05:00
Andrey Lushnikov
18c975509f
test: create tmp folder in os.tmp() folder ( #1982 )
2018-02-06 16:44:46 -05:00
Basarat Ali Syed
4046415f01
docs(README): mention troubleshooting.md in FAQ ( #1911 )
2018-02-05 19:03:07 -05:00
Andrey Lushnikov
ecc3adc279
feat(Response): add Response.fromCache / Response.fromServiceWorker ( #1971 )
...
This patch:
- introduces `test/assets/cached` folder and teaches server to cache
all the assets from the folder
- introduces `test/assets/serviceworkers` folder that stores all the
service workers and makes them register with unique URL prefix
- introduces `Response.fromCache()` and `Response.fromServiceWorker()`
methods
Fixes #1551 .
2018-02-05 17:59:07 -05:00
Alix Axel
660b65780f
feat(Frame): add click(), focus(), hover(), tap() and type() ( #1970 )
...
This patch adds frame shortcuts to drive input:
- `Frame.click()`
- `Frame.focus()`
- `Frame.hover()`
- `Frame.tap()`
- `Frame.type()`
2018-02-05 17:58:03 -05:00
Michael Stillwell
48218fae8a
docs(api.md): page.error
event dispatchers error
2018-02-05 17:45:35 -05:00
Yaniv Efraim
2f1157b044
fix(Docs): fix Console example ( #1961 )
...
Fixes #1874
2018-02-05 17:44:22 -05:00
Alix Axel
bc6902623a
fix: allow timeouts of be 0 ( #1964 )
...
This patch fixes timeouts for `puppeteer.launch` and `page.waitForFunction`
to be `0`.
Fixes #1960 .
2018-02-05 17:42:54 -05:00
Andrey Lushnikov
37a1e17461
chore: remove unused parameter in EmulationManager ( #1968 )
2018-02-05 15:51:43 -05:00
Joel Griffith
e998ac9325
docs(README): Adding in browserless to README ( #1962 )
2018-02-05 14:39:49 -05:00
Andrey Lushnikov
cfb728b09b
feat(Chromium): roll to r533271 ( #1938 )
...
This roll includes:
- https://crrev.com/530961 DevTools: fix Referer header handling in
net interceptor
References #469 .
2018-01-31 16:02:56 -08:00
Eric Bidelman
1716a748aa
docs(troubleshooting): add aws lambda resources ( #1926 )
2018-01-31 15:31:31 -08:00
Andrey Lushnikov
bae44a82d8
test: teach test reporter to highlight test stackframe on failures. ( #1930 )
...
This patch teaches reporter to highlight test stack frame on
test failures.
2018-01-30 15:23:47 -08:00
Thibault Lenclos
4886d038d5
docs: fix typo in troubleshooting.md ( #1909 )
2018-01-26 23:00:18 -08:00
Andrey Lushnikov
ddc59b2472
docs(api.md): fix exposeFunction example ( #1900 )
2018-01-25 14:50:42 -08:00
Yaniv Efraim
189deb84c0
feat(Frame): add Frame.evaluateHandle ( #1885 )
...
This patch adds Frame.evaluateHandle method. The method is a shortcut
for frame.executionContext().evaluateHandle.
Fixes #1051
2018-01-24 21:16:01 -08:00