Joel Einbinder
8aa88d5021
fix(doc): check and update optional types in the api ( #1206 )
...
This adds a new check to doclint for whether a member is correctly marked as optional.
part of #6
2020-03-03 17:29:12 -08:00
Dmitry Gozman
f4e9b5079d
api: declare not supporting isMobile on Firefox ( #1207 )
2020-03-03 17:28:31 -08:00
Dmitry Gozman
33f3e5724b
test: skip flaky 'Page.goto extraHttpHeaders should be pushed to provisional page' ( #1203 )
2020-03-03 17:26:58 -08:00
Dmitry Gozman
1c4619e5e0
fix(chromium/webkit): fix a race between Page.enable and Page.getResourceTree ( #1201 )
2020-03-03 17:15:43 -08:00
Dmitry Gozman
15c70c9d61
fix(click): timing out in page while waiting for interactable should have proper error ( #1199 )
...
This fixes flaky 'Page.click should timeout waiting for visible' test.
2020-03-03 17:14:00 -08:00
Yury Semikhatsky
23790f749d
browser(webkit): send reply to deleteContext even if there are no pages in it ( #1204 )
2020-03-03 17:10:29 -08:00
Joel Einbinder
fcfe887c57
feat(select): don't accept undefined as a value ( #1202 )
...
`page.select` accepting an `undefined` value is a legacy of when `page.select` took `...values`. This matches the way the method is documented in the API.
2020-03-03 16:59:41 -08:00
Yury Semikhatsky
4556513c2a
chore(test): test cleanup ( #1198 )
2020-03-03 16:58:37 -08:00
Dmitry Gozman
6c6cdc033b
api(popup): introduce BrowserContext.exposeFunction ( #1176 )
2020-03-03 16:46:06 -08:00
Dmitry Gozman
1b863c2300
fix(screenshots): simplify implementation, allow fullPage + clip, add tests ( #1194 )
2020-03-03 16:09:32 -08:00
Dmitry Gozman
2ec9e6daa2
test: cleanup some test files ( #1195 )
2020-03-03 15:02:06 -08:00
Yury Semikhatsky
9f3ccb4b35
browser(webkit): wait for all pages to close in deleteContext ( #1197 )
2020-03-03 14:44:32 -08:00
Yury Semikhatsky
4a9a155838
test: enable page opener test on WebKit ( #1193 )
2020-03-03 14:11:17 -08:00
Arjun Attam
3eec2d07f5
docs(ci): list sample configurations for ci ( #1196 )
...
Has some overlaps with the troubleshooting doc, which I plan to clean up in a subsequent PR. This first version of the doc has a feel of "build-your-own" with our sample configurations. Over time we can tweak the level of hand-holding for the best user experience to get started with CI.
Fixes #1103
2020-03-03 12:21:21 -08:00
Yury Semikhatsky
ce3398b9a5
browser(webkit): allow scripts in inspected pages to create popups ( #1192 )
2020-03-03 10:23:33 -08:00
Joel Einbinder
a3ed3018e8
fix(docs): page.coverage type ( #1189 )
...
`page.coverage` was marked as an unhelpful any.
2020-03-02 22:09:06 -08:00
Andrey Lushnikov
42aa70fb41
chore(ci): run all browser tests on Travis again
2020-03-02 19:09:52 -08:00
Andrey Lushnikov
2711891e04
chore(ci): use bionic image on circle ci
2020-03-02 19:04:45 -08:00
Andrey Lushnikov
019eaa4470
chore(ci): different attempt to publish on Travis
2020-03-02 19:00:47 -08:00
Andrey Lushnikov
ec3ee66043
chore(docs): optionally install XVFB in docker
2020-03-02 18:54:13 -08:00
Andrey Lushnikov
01888897b7
chore(ci): fix publish_all_packages.sh on travis
2020-03-02 18:53:57 -08:00
Andrey Lushnikov
64e5e213d8
chore(ci): forcefully login NPM on CI if NPM_AUTH_TOKEN is set
2020-03-02 18:38:39 -08:00
Andrey Lushnikov
a40f562662
chore(ci): add debug info for publish_all_packages
2020-03-02 18:35:04 -08:00
Andrey Lushnikov
bccdaec8b4
chore(ci): add circle ci ( #1188 )
2020-03-02 18:34:24 -08:00
Yury Semikhatsky
31e26a2208
fix(api): fire BrowserContext.Page event in WebKit and Firefox ( #1186 )
2020-03-02 18:32:56 -08:00
Andrey Lushnikov
497a74d8e2
chore(ci): fix publishing @next on travis
2020-03-02 18:26:45 -08:00
Andrey Lushnikov
ed2de2c2cb
chore(ci): test if travis can publish packages
2020-03-02 18:17:52 -08:00
Andrey Lushnikov
62e2570e67
chore: fix utils/apply_next_version.js
2020-03-02 18:17:16 -08:00
Andrey Lushnikov
57c45f0d1f
fix: properly publish all packages on travis ( #1187 )
2020-03-02 17:40:48 -08:00
Dmitry Gozman
342a2cf5cc
fix(selectors): continue matching after first fail for combined selectors ( #1185 )
2020-03-02 15:47:50 -08:00
Pavel
342e79c5b4
test: mark some tests as skipped (3)
2020-03-02 15:13:15 -08:00
Pavel
2f98b5e26a
test: mark some tests as skipped (2)
2020-03-02 15:08:15 -08:00
Pavel
ba06fb2f0d
test: mark some tests as skipped
2020-03-02 14:57:54 -08:00
Dmitry Gozman
1186998bd8
fix(click): wait for element to be displayed before scrolling into view ( #1182 )
...
Otherwise, we may get an error during scrollIntoViewIfNeeded protocol call.
2020-03-02 14:26:38 -08:00
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