Joel Einbinder
26538d6aec
test: add mobile screenshot test, failing on webkit and firefox ( #354 )
2020-01-02 15:28:14 -08:00
Pavel Feldman
0fab90be79
feat(evaluate): survive null JSON in WK and FF ( #352 )
2020-01-02 15:06:28 -08:00
Arjun Attam
682e2be15f
fix: allow email type in input for fill action ( #353 )
2020-01-02 14:10:01 -08:00
Pavel Feldman
b64bd35c23
feat(evaluate): survive null JSON ( #351 )
2020-01-02 12:13:18 -08:00
Pavel Feldman
6a04e1f026
feat(offline+auth): enable those in webkit, make them a part of the core API ( #346 )
2019-12-30 23:09:54 +01:00
Pavel Feldman
654fa22cc7
feat(webkit): enable request interception ( #343 )
2019-12-30 23:05:28 +01:00
Yury Semikhatsky
c540561503
test(wk): unskip passing test ( #339 )
2019-12-26 15:27:52 -08:00
Yury Semikhatsky
f56ff07f19
fix(wk): support ElementHandle.ownerFrame ( #338 )
2019-12-26 14:05:46 -08:00
Yury Semikhatsky
3f0eaa2350
test(wk): unskip test that failed because bootstrap scripts did not survive PSON ( #331 )
2019-12-23 10:40:15 -08:00
Pavel Feldman
4638019902
feat(api): use good old inheritance instead of feature detection ( #329 )
2019-12-21 09:03:52 -08:00
Pavel Feldman
8f480a3987
docs: more docs update ( #327 )
2019-12-20 16:57:21 -08:00
Yury Semikhatsky
701b5db452
fix(wk): make evaluateOnNewDocument work with PSON ( #326 )
2019-12-20 16:16:32 -08:00
Dmitry Gozman
735d3eeed7
feat(navigation): introduce waitForNavigationIfNeeded ( #310 )
...
This one waits for current navigation to finish, matching by url if asked.
If there is no current navigation or current navigation/url does not match,
it waits for the next matching one.
2019-12-20 15:32:30 -08:00
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 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
Joel Einbinder
ce74a659e1
test: failing test for setting JSON equal to null ( #314 )
2019-12-19 17:25:09 -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
Pavel Feldman
331f0e603a
feat: introduce BrowserServer ( #308 )
2019-12-19 14:51:49 -08:00
Dmitry Gozman
b378bc7f6c
feature(evaluate): support cross-context element handles ( #295 )
2019-12-19 11:44:07 -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
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
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
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
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
Yury Semikhatsky
e851a27350
feat(webkit): implement ElementHandle.contentFrame ( #276 )
2019-12-17 12:21:53 -07:00
Yury Semikhatsky
629c56b0ab
test: make async stacks pass on WebKit ( #277 )
2019-12-17 11:04:04 -08:00
Dmitry Gozman
5a60a96410
chore: reuse navigation methods between browsers ( #271 )
2019-12-16 22:02:33 -08:00