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
Yury Semikhatsky
58cd8210b0
test: disable new referrer test on FF
2019-12-18 13:36:35 -08:00
Yury Semikhatsky
adf54ee6b3
tests: move ws-specific browser tests to corrsponding browser suites ( #289 )
2019-12-18 13:28:23 -07:00
Pavel Feldman
6d0dfd0abf
feat(context): start moving overrides to the context level
2019-12-18 12:23:33 -08:00
Andrey Lushnikov
f56726759b
test: normalize browser executable path variables ( #287 )
2019-12-17 18:07:01 -08:00
Dmitry Gozman
0f8333ba89
feature(filechooser): move waitForFileChooser to common waitForEvent ( #281 )
2019-12-17 17:34:32 -08:00
Andrey Lushnikov
533d058ea6
fix(firefox): support late attachment and skip a few failing tests ( #283 )
2019-12-17 17:33:06 -08:00
Yury Semikhatsky
83833f61c1
feat(webkit): support referrer parameter in Page.navigate ( #286 )
...
* add test for reference-policy: no-referrer
2019-12-17 18:19:35 -07:00
Yury Semikhatsky
f854b09879
browser(webkit): support referrer parameter in Page.navigate ( #285 )
2019-12-17 16:26:19 -08:00
Andrey Lushnikov
46483ed009
browser(firefox): support late attach ( #282 )
2019-12-17 15:07:25 -08:00
Dmitry Gozman
fd927000ea
feature: update api around selectors ( #280 )
...
- Selector is again a string.
- Most methods taking selector also accept waitFor option.
- Available waitFor options are: 'visible', 'hidden', 'any' === true, false === undefined.
- waitForXPath is removed.
- waitForSelector is replaced by $(selector, { waitFor: true }).
2019-12-17 14:30:02 -08:00
Dmitry Gozman
75ae9bfeee
feature(waitFor): use URLMatch to match request/response, waitForEvent for generic ( #278 )
2019-12-17 14:00:39 -08:00
Andrey Lushnikov
0dafabb05e
test: fix a few tests on firefox ( #279 )
2019-12-17 13:33:05 -07:00
Dmitry Gozman
24eb6d8671
chore: simplify extra http headers handling across browsers ( #274 )
2019-12-17 11:31:52 -08:00
Dmitry Gozman
916158656c
chore: unify reload/goBack/goForward across browsers ( #273 )
2019-12-17 11:28:09 -08:00
Yury Semikhatsky
e851a27350
feat(webkit): implement ElementHandle.contentFrame ( #276 )
2019-12-17 12:21:53 -07:00
Andrey Lushnikov
4bb3c41faa
docs(devops): document building firefox on Linux
2019-12-17 11:09:49 -08:00
Yury Semikhatsky
629c56b0ab
test: make async stacks pass on WebKit ( #277 )
2019-12-17 11:04:04 -08:00
Yury Semikhatsky
3cea9a1717
feat(webkit): implement DOM.describeNode for retrieving content frame ( #275 )
2019-12-17 11:39:59 -07:00
Dmitry Gozman
5a60a96410
chore: reuse navigation methods between browsers ( #271 )
2019-12-16 22:02:33 -08:00
Dmitry Gozman
48be99a56e
feat(selectors): add id selectors ( #270 )
2019-12-16 20:49:18 -08:00
Yury Semikhatsky
8828228702
tests(webkit): unskip test that depends on frameStoppedLoading ( #269 )
2019-12-16 20:19:41 -08:00
Yury Semikhatsky
4a5929da55
fix(webkit): mark mixed content test as passing ( #260 )
...
* roll WebKit to 1042
2019-12-16 18:47:38 -07:00
Yury Semikhatsky
974f82073f
feat(webkit): allow to run beforeunload when closing page ( #264 )
2019-12-16 17:33:36 -08:00
Yury Semikhatsky
bfb8df29bb
feat(webkit): reload page after updating user agent ( #268 )
2019-12-16 18:29:40 -07:00
Yury Semikhatsky
68a03c2e84
fix(webkit): mac build ( #267 )
2019-12-16 17:58:04 -07:00