Andrey Lushnikov
42351c7fe5
feat(firefox): Implement header overrides in request interception ( #4142 )
...
This patch makes sure header overrides in request interception are
functioning as expected.
Drive-by: teach test server to use utf-8 charset header for text files.
2019-03-08 14:26:13 -08:00
Andrey Lushnikov
c9f6a3d064
chore(firefox): bump version to v0.5.0 ( #4089 )
2019-02-28 16:43:52 -08:00
Joel Einbinder
a6d8ecce6f
fix(firefox): keyboard tests ( #4082 )
2019-02-27 15:13:17 -08:00
Andrey Lushnikov
9ef23b1754
feat(firefox): implement cookies api ( #4076 )
...
This patch implements `page.setCookie()`, `page.deleteCookie()` and
`page.cookies()` and doubles the test coverage for cookies so that
we can feel safer on cross-browser compatibility.
2019-02-26 16:24:30 -08:00
Joel Einbinder
03d06f54d6
feat(firefox): page.accessibility.snapshot() ( #4071 )
2019-02-25 21:57:33 -08:00
Andrey Lushnikov
f21486fa1b
feat(firefox): implement Page.touchscreen ( #4070 )
2019-02-25 15:36:38 -08:00
Andrey Lushnikov
d04a8d55b4
refactor(firefox): split out DOMWorld ( #4066 )
2019-02-25 11:43:54 -08:00
Andrey Lushnikov
4ecbd91e4b
refactor(firefox): migrate onto ExecutionContext events ( #4064 )
...
Juggler now has Runtime domain that emits Execution Context events
"ExecutionContextCreated" and "ExecutionContextDestroyed".
2019-02-24 23:07:24 -08:00
Andrey Lushnikov
56dafd7424
feat: support Response.buffer(), Response.json() and Response.text() ( #4063 )
...
This patch:
- implements Response.buffer() and other methods
- splits out relevant tests into a separate test suites
- implements `testServer.enableGzip()` method to optionally gzip
certain routes in tests
- adds tests to make sure `Response.text()` returns expected results
for binary and compressed responses.
2019-02-24 19:31:35 -08:00
Andrey Lushnikov
3bea5d6017
feat(firefox): implement browserContext.overridePermissions ( #4060 )
2019-02-22 23:59:32 -08:00
Andrey Lushnikov
f1a14fec5b
feat(firefox): support elementHandle.uploadFile ( #4058 )
...
Fixes #3762
2019-02-22 17:22:46 -08:00
Andrey Lushnikov
1315dc8234
feat(firefox): support Page.emualteMedia ( #4056 )
2019-02-22 14:04:40 -08:00
Andrey Lushnikov
5c818368a5
feat(firefox): implement page.exposeFunction ( #4052 )
2019-02-22 00:04:25 -08:00
Andrey Lushnikov
ed984ac479
chore(firefox): kill original puppeteer-firefox tests ( #4047 )
...
When we started working on Puppeteer-Firefox, we forked original
Puppeteer testsuite.
This patch concludes the effort to merge testsuites back together.
Fixes #3889
2019-02-21 13:10:15 -08:00
Andrey Lushnikov
719ee5af3d
feat(firefox): support page.setExtraHTTPHeaders ( #4035 )
2019-02-19 15:22:12 -08:00
Andrey Lushnikov
c118b208fa
feat(firefox): basic request interception support ( #4034 )
...
This patch implements `page.setRequestInterception`, `page.continue`
and `page.abort` methods.
2019-02-19 14:51:56 -08:00
Andrey Lushnikov
3b180923a6
refactor(firefox): migrate onto Juggler flatten protocol ( #4033 )
...
Juggler now implements the same "flatten" protocol as CDP.
This patch:
* copies `Connection.js` from original Puppeteer (with a few renames, e.g. `CDPSesssion` -> `JugglerSession`).
* migrates code to support protocol-level sessions
2019-02-19 13:20:39 -08:00
Andrey Lushnikov
4a4793a5e1
feat(firefox): support Browser.target() ( #4028 )
...
Support browser target.
Drive-by: switch over to a more devtools'ish protocol:
- use `targetId` instead of `pageId` everywhere
- use target events instead of tab events
2019-02-17 10:23:48 -08:00
Andrey Lushnikov
9782f9c827
fix(firefox): add test to make sure remote browser can be closed ( #4023 )
2019-02-15 18:26:14 -08:00
Andrey Lushnikov
c35821a1a1
feat(firefox): switch over to WebSocket and support multiclient ( #4022 )
...
- switch transport from TCP to WS (yay!)
- implemenet `puppeter.connect()`, `browser.disconnect()`, `'disconnected'`
event and `browser.wsEndpoint()`
2019-02-15 17:57:48 -08:00
Andrey Lushnikov
6350cf0892
fix(firefox): report more console messages (including warnings) ( #4005 )
2019-02-13 23:22:45 -08:00
Andrey Lushnikov
0b40d04b99
feat(firefox): support running beforeunload hooks when closing ( #4003 )
2019-02-13 22:16:12 -08:00
Andrey Lushnikov
e3b76b2beb
feat(firefox): support consoleMessage.location() ( #4002 )
2019-02-13 19:56:56 -08:00
Andrey Lushnikov
670d758dfe
feat(firefox): support "referer" option in Page.goto ( #4000 )
2019-02-13 13:49:05 -08:00
Andrey Lushnikov
fbf36438e8
feat(firefox): support Request.postData ( #3999 )
2019-02-13 13:11:50 -08:00
Andrey Lushnikov
13224a761e
feat(firefox): support Response.securityDetails() ( #3997 )
2019-02-13 11:56:51 -08:00
Andrey Lushnikov
31ae1d6d15
feat(firefox) support Request.headers() & Response.headers() ( #3993 )
2019-02-13 00:55:56 -08:00
Andrey Lushnikov
89d0f1e1e7
feat(firefox): implement frame.goto / frame.waitForNavigation ( #3992 )
...
Some corner cases regarding iframes being detached during navigation
are not yet supported.
2019-02-12 20:10:53 -08:00
Andrey Lushnikov
1890dc04ba
feat(firefox): Page.waitForRequest/Page.waitForResponse ( #3989 )
...
Drive-by: refactor `Request.frame()` tests into a separate test suite.
2019-02-12 19:10:14 -08:00
Andrey Lushnikov
afb9355b15
feat(firefox): basic support for Network ( #3988 )
...
This patch introduces basic Request and Response events for
page. It also teaches navigation methods, e.g. `page.goto` to return
navigation response.
2019-02-12 17:38:48 -08:00
Andrey Lushnikov
b82cc150d1
feat(firefox): support Page.setJavascriptEnabled ( #3970 )
...
This patch implements:
- Page.setJavascriptEnabled
- Page.setCacheEnabled
2019-02-08 20:57:16 -08:00
Andrey Lushnikov
fc18a79e99
feat(firefox): support Page.setUserAgent method ( #3968 )
2019-02-08 19:53:27 -08:00
Andrey Lushnikov
cfefd611b8
feat(firefox): support target.opener() and page.on('popup') ( #3966 )
2019-02-08 19:21:54 -08:00
Andrey Lushnikov
a9875359aa
feat(firefox): implement execution contexts ( #3962 )
2019-02-08 17:15:52 -08:00
Andrey Lushnikov
a762dbe96f
chore(ci): add Puppeteer-Firefox to CI ( #3932 )
...
This patch adds Puppeteer-Firefox bot running on Linux+Node8
on Cirrus CI.
References #3889
2019-02-06 14:28:02 -08:00
Paul Irish
c3b6619432
chore(firefox): readme link to isready site ( #3930 )
2019-02-06 10:06:36 -08:00
Andrey Lushnikov
28087c291f
feat(firefox): support ElementHandle.contentFrame() ( #3917 )
2019-02-05 13:29:49 -08:00
Andrey Lushnikov
fd67fa7a36
test(firefox): run puppeteer-firefox tests in browser contexts ( #3887 )
...
This patch starts running all Puppeteer-Firefox tests in separate
browser contexts.
2019-02-01 14:52:25 -08:00
Andrey Lushnikov
bd347558bc
feat(ppfox): implement browser contexts ( #3872 )
...
BrowserContexts are necessary to run Puppeteer tests against Puppeteer-Firefox
2019-02-01 14:09:18 -08:00
Andrey Lushnikov
c81f03c250
docs(readme): fix pptrfx readme ( #3634 )
2018-12-06 12:39:03 -08:00
Andrey Lushnikov
be836bef63
docs(pptrfx): update readme ( #3633 )
2018-12-06 12:05:58 -08:00
Andrey Lushnikov
45ab3e0332
feat: introduce puppeteer-firefox ( #3628 )
...
This adds a proof-of-concept of `puppeteer-firefox`.
This consists of two parts:
- `//experimental/juggler` - patches to apply to Firefox.
- `//experimental/puppeteer-firefox` - front-end code to
be merged with Puppeteer.
As things become more stable, we'll gradually move it out of
the experimental folder.
2018-12-06 11:24:00 -08:00