Commit Graph

473 Commits

Author SHA1 Message Date
Dmitry Gozman
56a48559c2
fix(setContent): call window.stop() before setting new content (#323)
This ensures that previous loading activity is suppressed and all network requests are canceled.
2019-12-20 15:30:12 -08:00
Pavel
2673ea90d9 doc: more documentation fixes 2019-12-20 15:26:18 -08:00
Pavel Feldman
9cfa404c87
feat: trim down url matching (#322) 2019-12-20 14:38:54 -08:00
Yury Semikhatsky
6b60b510b3 test: make fixture tests pass in all browsers (#321) 2019-12-20 14:10:13 -08:00
Pavel Feldman
ad22a46fde
feat: move permissions back into the context (#320) 2019-12-20 13:07:14 -08:00
Dmitry Gozman
dd6ba432ab
chore: update index.d.ts and index.js (#318) 2019-12-20 12:44:15 -08:00
Pavel Feldman
a4cb386b70 chore: fix page import 2019-12-19 22:09:21 -08:00
Pavel Feldman
811ce4cd0c chore: mark version v0.9.7-post 2019-12-19 21:31:56 -08:00
Pavel Feldman
536c50db78 docs: started working on the api.md (2) 2019-12-19 20:14:19 -08:00
Pavel
ae86a0be17 docs: started working on the api.md 2019-12-19 18:03:52 -08:00
Andrey Lushnikov
c9c97de729
browser(webkit): stop building with --touch-enable (#317)
Turns out we can't build with touch on Mac yet. Disable for now.
2019-12-19 17:59:33 -08:00
Andrey Lushnikov
3ba591b9d1 chore(ci): iterate on debug output for GH Action 2019-12-19 17:41:01 -08:00
Andrey Lushnikov
d5c3fa2f03 chore: debug output for webkit github action 2019-12-19 17:39:24 -08:00
Pavel
c7d205d416 chore: rename the world (3) 2019-12-19 17:03:27 -08:00
Pavel
b20e87d9d0 chore: rename the world (2) 2019-12-19 16:53:24 -08:00
Pavel
d4655457e5 chore: remove prepare hook 2019-12-19 16:50:50 -08:00
Pavel
91c309797d chore: rename the world 2019-12-19 16:46:42 -08:00
Joel Einbinder
b746733306 browser(webkit): drop undefined values instead of serailizing them as null (#316) 2019-12-19 16:45:21 -08:00
Joel Einbinder
ce74a659e1 test: failing test for setting JSON equal to null (#314) 2019-12-19 17:25:09 -07:00
Yury Semikhatsky
d105f182fc browser(webkit): rebase WebKit on r253791 (#315) 2019-12-19 16:15:02 -08:00
Pavel Feldman
78e8a22741 chore: mark version v0.9.6-post 2019-12-19 16:06:25 -08:00
Pavel Feldman
60ff0e50eb chore: mark version v0.9.6 2019-12-19 16:05:08 -08:00
Yury Semikhatsky
ff604f75b7
chore(wk): remove Input.goBack from protocol (#313) 2019-12-19 16:51:44 -07:00
Andrey Lushnikov
a7f3490e48 feat(testrunner): implement "dit" command (#312) 2019-12-19 16:47:35 -07:00
Dmitry Gozman
12ac458614 fix(elementhandle): contentFrame and ownerFrame work in various scenarios (#311)
Drive-by: use evaluateInUtility for various utility evals.
2019-12-19 15:19:22 -08:00
Dmitry Gozman
7e90292834 fix(networkidle): make it (almost) work with setContent (#307) 2019-12-19 15:07:57 -08:00
Joel Einbinder
a1dd75ec32 rebase on new webkit (#301) 2019-12-19 15:07:19 -08:00
Pavel Feldman
331f0e603a feat: introduce BrowserServer (#308) 2019-12-19 14:51:49 -08:00
Arjun Attam
14da8f531d
chore(license): add NOTICE (#309) 2019-12-19 12:19:54 -08:00
Dmitry Gozman
b378bc7f6c
feature(evaluate): support cross-context element handles (#295) 2019-12-19 11:44:07 -08:00
Pavel Feldman
4ef9f84ab5
chore: simplify the launcher routine (#306) 2019-12-19 10:21:26 -08:00
Andrey Lushnikov
2acf36debc
fix(testrunner): xdescribe.skip should be a no-op 2019-12-19 00:46:03 -08:00
Dmitry Gozman
c172a7e7e0 feature: $wait similar to waitForFunction, but taking a selector (#303) 2019-12-18 18:11:02 -08:00
Pavel Feldman
d570fc7809
feat: further strip the browser api (#304) 2019-12-18 18:07:11 -08:00
Dmitry Gozman
3669dad243 feat(urlmatch): support url matching in waitForNavigation (#300) 2019-12-18 18:03:02 -08:00
Joel Einbinder
1c2b6444e9 test(webkit): add tests for after cross origin navigations (#298) 2019-12-18 17:42:16 -08:00
Yury Semikhatsky
ff474b88e0 fix(wk): call setViewport on the new session (#302) 2019-12-18 17:37:27 -08:00
Andrey Lushnikov
8cc682c7b8 feat(testrunner): allow focusing all tests in a file
With this change, exporting a "fdescribe" function from a file
will focus all tests inside the file.
2019-12-18 17:13:39 -08:00
Pavel Feldman
0e3328218d feat(context): remove the notion of incognito context (#299) 2019-12-18 16:44:02 -08:00
Yury Semikhatsky
da051a72a8 fix: strip off hash from request urls (#297) 2019-12-18 16:27:20 -08:00
Pavel Feldman
b5e9086576 chore: remove browser from the api (#296) 2019-12-18 16:23:05 -08:00
Yury Semikhatsky
1d4ebd37b1
tests(webkit): mark Page.navigate to invalid URL test as passing (#293) 2019-12-18 16:49:43 -07:00
Yury Semikhatsky
ac2ea265fe
test(wk): unskip passing navigation test (#294) 2019-12-18 16:01:08 -07:00
Yury Semikhatsky
82f6e61295 feat(wk): validate url before navigation and return error (#292) 2019-12-18 14:37:12 -08:00
Andrey Lushnikov
44b39bad33 fix(testrunner): show maximum 10 skipped tests in test report
This is to save some terminal screen real estate.

Drive-by: remove async test suites from test runner.
2019-12-18 14:33:46 -08:00
Dmitry Gozman
9afd35d3a1
feature(waitfor): waitFor visible or any by default (#284) 2019-12-18 14:28:16 -08:00
Pavel
1c3ff0bd52 fix(ff): await for configuration promises 2019-12-18 14:00:35 -08:00
Andrey Lushnikov
5d47a38c18 fix(testrunner): fix stack formatting 2019-12-18 13:55:28 -08:00
Pavel Feldman
0d7701c730 fix(wkgtk): invoke resize callback when resize is a noop (#291) 2019-12-18 14:54:51 -07:00
Dmitry Gozman
7750db97fe
api: remove ExecutionContext from api (#290)
In the current state, it is superseeded by Frame and JSHandle.
2019-12-18 13:51:45 -08:00