Commit Graph

1159 Commits

Author SHA1 Message Date
Henri d'Orgeval
db9a2431bf
docs(showcase): rename playwright-controller to playwright-fluent (#1183) 2020-03-02 14:04:27 -08:00
Yury Semikhatsky
a57978a5f0
api(chromium): remove Target from public API (#1163) 2020-03-02 13:58:22 -08:00
Yury Semikhatsky
f242e0c74f
fix: make Transport.send() synchronous (#1177) 2020-03-02 13:51:32 -08:00
Pavel Feldman
5bd6e4970b
test: it.skip skips and it.fail expects to fail now (#1178) 2020-03-02 13:47:08 -08:00
Andrey Lushnikov
08fbc92752
feat: support PLAYWRIGHT_DOWNLOAD_HOST (#1179)
This patch starts respecting `PLAYWRIGHT_DOWNLOAD_HOST` env variable
in `playwright` package and it's vendored flavors (`playwright-firefox`,
`playwright-chromium` and `playwright-webkit`).

Fixes #1045
2020-03-02 13:45:10 -08:00
Andrey Lushnikov
d5951b4fc4
fix: properly download browsers (#1173)
Playwright API is parametrized with a `downloadPath` - a path that
is used to download browsers and to look for downloaded browsers.

This patch starts respecting `downloadPath` as part of
`download-browser.js` utility.
2020-03-02 11:49:42 -08:00
Pavel Feldman
cbf65a9c56
test: chain test modifiers (#1175) 2020-03-02 11:18:42 -08:00
Henri d'Orgeval
e3ec6b28a9
docs(showcase): add playwright-controller (#1171) 2020-03-01 11:34:08 -08:00
Andrey Lushnikov
eb1a9eb2cc chore: rename prepare.js into install-from-github.js
This is what it actually does.
2020-02-28 17:37:05 -08:00
Andrey Lushnikov
eeceda4044 chore(ci): re-enable browser tests on travis 2020-02-28 16:25:57 -08:00
Andrey Lushnikov
b20b323106 chore(ci): another attempt to program in .travis.yml 2020-02-28 16:17:59 -08:00
Andrey Lushnikov
8fc519de56 chore(ci): another try to publish edge version 2020-02-28 16:09:21 -08:00
Andrey Lushnikov
96e7132812 chore(ci): try to publish new @next 2020-02-28 16:06:04 -08:00
Dmitry Gozman
ac2f04f10f
api(selectors): pass selector name when registering, allow file path (#1162) 2020-02-28 15:34:07 -08:00
Andrey Lushnikov
d511d7dd99 chore(ci): use TRAVIS_NEXT_NUMBER instead of Date.now() 2020-02-28 15:20:07 -08:00
Andrey Lushnikov
583f7a07be chore(ci): publish all packages 2020-02-28 15:03:03 -08:00
Andrey Lushnikov
b5da5f1a04 chore(ci): another attempt to publish 2 packages 2020-02-28 14:53:26 -08:00
Andrey Lushnikov
66799af3a2 chore(ci): try to publish 2 things with travis 2020-02-28 14:46:51 -08:00
Dmitry Gozman
7843c29d32
feat(selectors): auto-detect each selector part (#1160) 2020-02-28 14:41:32 -08:00
Dmitry Gozman
c4f55bf22c
chore: guide for producing release notes (#1165) 2020-02-28 14:40:50 -08:00
Andrey Lushnikov
1781ae7006
feat: add a playwright-ready docker image (#1161) 2020-02-28 14:40:26 -08:00
Andrey Lushnikov
4af4557706 chore(ci): regenerate key with travis --pro 2020-02-28 14:30:55 -08:00
Andrey Lushnikov
67a848542b chore(ci): another attempt to fix travis 2020-02-28 14:23:29 -08:00
Arjun Attam
ea11a77ac3
docs(showcase): add new tools to showcase (#1164) 2020-02-28 14:11:22 -08:00
Andrey Lushnikov
ea0539f10c chore: remove unused docker images 2020-02-28 14:08:03 -08:00
Andrey Lushnikov
400e55dab4 chore(ci): attempt to publish @next from travis 2020-02-28 14:06:20 -08:00
Andrey Lushnikov
9b51febf50
feat: setup continuous deployment (#1159)
This patch sets continuous deployment of playwright packages
from tip-of-tree. These packages are released under the "@next",
so it should be possible to install tip-of-tree version of Playwright
from NPM using

```
npm i playwright@next
```

A few technical details:
- This uses travis to drive deployments
- This deploys from master and only if all browsers pass all tests on linux
- This is an attempt to deploy just two packages: `playwright-core` and `playwright-firefox`. If this works out, I'll follow-up with other packages as well
2020-02-28 11:02:42 -08:00
Dmitry Gozman
82a4ede6dc
chore: roll Chromium to 745253 (#1156) 2020-02-28 09:02:26 -08:00
aesyondu
041b8c6e01
chore: fix typo on sepcified -> specified (#1153) 2020-02-27 17:44:19 -08:00
Dmitry Gozman
823bf389a7
api: evaluateOnNewDocument -> addInitScript (#1152)
Also adds more options to specify the script.
2020-02-27 17:42:14 -08:00
Arjun Attam
9478bf3ee5
docs(readme): add link to changelog (#1148) 2020-02-27 16:54:32 -08:00
Joel Einbinder
857ffd8ea9
fix: text selector should be case insensitive without quotes (#1151) 2020-02-27 16:52:30 -08:00
Arjun Attam
de542c077c
docs(api): unify selector references to include xpath (#1150) 2020-02-27 16:22:19 -08:00
Dmitry Gozman
7682865d73
feat(popups): add BrowserContext.evaluateOnNewDocument (#1136) 2020-02-27 16:18:33 -08:00
Pavel Feldman
dc161df063
fix(launch): throw upon page argument when non-persistent (#1144) 2020-02-27 14:09:24 -08:00
Yury Semikhatsky
9d6aa967f3
chore(workers): align worker lifecycle evens with other APIs (#1147) 2020-02-27 14:02:48 -08:00
Dmitry Gozman
c6fde22b1f
chore(webkit): always attach to all pages, simplify initialization (#1139) 2020-02-27 08:49:09 -08:00
Yury Semikhatsky
6b6a671754
fix(webkit): pass popup tests (#1138) 2020-02-27 08:43:01 -08:00
Yury Semikhatsky
d41342f3e0
browser(webkit): mac build fix (#1137) 2020-02-26 16:21:43 -08:00
Dmitry Gozman
ee9c7f1886
browser(firefox): support BrowserContext.evaluateOnNewDocument (#1135)
70ee31b2d4
2020-02-26 15:40:41 -08:00
Andrey Lushnikov
4ebf419259
fix(yarn): download browsers to package directories (#1133)
This patch makes it so all our packages, like `playwright` and
browser-specific flavors, download browsers to their
directories rather then using directory of `playwright-core`.

This way yarn@1 caches are not busted: they didn't expect that directory
content might change after packages's explicit install step
is failed, there's that was what we were doing.

Fixes #1085
2020-02-26 15:13:31 -08:00
Andrey Lushnikov
22c28b6615
test(firefox): support loading of file URLs (#1132)
Fixes #822
2020-02-26 15:02:59 -08:00
Yury Semikhatsky
7a7575461c
browser(webkit): pause in popup until Target.resume is received (#1134) 2020-02-26 14:50:34 -08:00
Pavel
5cfe68d878 test: uncomment webkit fix 2020-02-26 14:16:14 -08:00
Andrey Lushnikov
4ab880175a chore: fix lint 2020-02-26 14:08:21 -08:00
Pavel Feldman
d20f3cac89
feat(webkit): no start window, healthy pipe (#1113) 2020-02-26 13:02:15 -08:00
Pavel Feldman
b8c6069853
browser(webkit): trim down mac embedder (#1130) 2020-02-26 12:57:23 -08:00
Dmitry Gozman
672f3f9960
feat(popups): introduce BrowserContext.setDefaultHTTPHeaders (#1116) 2020-02-26 12:42:20 -08:00
Yury Semikhatsky
4f69930fbe
fix(chromium): make locale overrides work (#1108) 2020-02-26 11:01:46 -08:00
Pavel Feldman
3afaeef557
feat(socket): destroy contexts upon disconnect (#1119) 2020-02-26 11:01:01 -08:00