Yury Semikhatsky
f05a8bdc0c
browser(firefox): override document.hasFocus() in main frames ( #1802 )
2020-04-15 14:41:18 -07:00
Dmitry Gozman
b2de970eb0
browser(webkit): events informing about popup windows being open ( #1794 )
2020-04-15 14:05:00 -07:00
Andrey Lushnikov
abb87f25a9
devops: always get BUILD_NUMBER from upstream ( #1805 )
...
This makes `export.sh` indepotent.
2020-04-15 13:23:21 -07:00
Dmitry Gozman
cbad583f8a
browser(firefox): prepare to collect signals during actions ( #1772 )
2020-04-15 12:02:08 -07:00
Andrey Lushnikov
8c40b920c9
fix: set non-0 exit code for install scripts if there are problems ( #1739 )
...
Fixes #1731
2020-04-15 11:42:45 -07:00
Andrey Lushnikov
9efc66366c
chore: generate README.md for playwright package on prepublish ( #1801 )
...
This will ensure that `playwright` package always has a readme.
Fix #1798
2020-04-15 11:29:59 -07:00
Joel Einbinder
762dfe1a59
browser(webkit): fix intercepting with a redirect ( #1787 )
2020-04-15 11:17:33 -07:00
Pavel
60eb3cdd3d
docs(input): minor edits 3
2020-04-15 11:05:24 -07:00
Pavel
089a9dde96
docs(input): minor edits 2
2020-04-15 11:02:47 -07:00
Pavel
438d2761ff
docs(input): minor edits
2020-04-15 11:01:27 -07:00
Pavel Feldman
50680dee57
docs(input): start crafting the input cheat sheet ( #1804 )
2020-04-15 10:53:47 -07:00
Dmitry Gozman
b0d79d5124
feat(shadow): make css pierce shadow by default ( #1784 )
...
We leave css:light, text:light, id:light, and similar to opt-out from the shadow dom piercing. The notable exception is xpath that is always light.
2020-04-15 10:16:29 -07:00
Andrey Lushnikov
0ba823dd6f
feat: introduce page.on('crash')
event ( #1782 )
...
Currently, whenever the page crashes, it emits an `'error'` event.
Error event is a special type of event in node.js; if unhandled,
it crashes the process.
Instead of emitting `'error'` event, this patch switches to emitting
`'crash'` event. Playwright users are free to handle the event
however they like, or just to ignore it.
2020-04-15 00:04:35 -07:00
Andrey Lushnikov
aeabf9d707
test: mark cookies test as flaky on win ( #1796 )
2020-04-15 00:04:15 -07:00
Pavel Feldman
e9b470096d
chore: assert selector is a string ( #1795 )
...
Fixes #1735
2020-04-14 23:16:37 -07:00
Andrey Lushnikov
d07105aa0b
fix: do not capture exceptions while emitting events ( #1790 )
...
This could've caught user-land exception.
2020-04-14 22:41:45 -07:00
Andrey Lushnikov
52fe02eea6
devops: enforce strict treatment of unhandled rejections ( #1789 )
...
Run all our tests with node.js flag `--unhandled-rejections=strict`.
2020-04-14 22:40:33 -07:00
Craig Nishina
3167f2d34c
fix(chromium): prevent errors when frame does not exist when detaching from oopif ( #1767 )
...
When navigating away from the page loaded in `goto`, the frame no longer
exists. Page.removeFrameSession is called and throws an error. Instead
of calling the helper.assert method, moved removeChildFramesRecursively
into a conditional.
closes #1762
2020-04-14 19:01:01 -07:00
Yury Semikhatsky
451a6b7904
test: add more focus() tests ( #1793 )
2020-04-14 18:57:48 -07:00
Yury Semikhatsky
b232e004f5
fix(firefox): make ElementHandle.scrollIntoViewIfNeeded pass ( #1786 )
2020-04-14 18:24:17 -07:00
Pavel Feldman
da683b2752
feat(selectAll): allow selecting all in the inputs and in the plain dom ( #1783 )
2020-04-14 17:09:26 -07:00
Andrey Lushnikov
b2c65db37e
test: mark permissions tests as flaky on Linux & Firefox ( #1791 )
2020-04-14 17:00:56 -07:00
Andrey Lushnikov
ea7aadba2b
devops: bump total tests timeout to 30 minutes
2020-04-14 16:31:15 -07:00
Yury Semikhatsky
d5e75d8bb7
browser(firefox): avoid clobbering scroll requests after scrollIntoViewIfNeeded ( #1785 )
...
5ef35728ff
If there is a pending visual update `AsyncPanZoomController::NotifyLayersUpdated` will override scroll offset set from layout with the visual one. See [`visualScrollOffsetUpdated`](http://ffsearch.azurewebsites.net/#path=%2Fhome%2Fjoe%2Ffirefox%2Fgfx%2Flayers%2Fapz%2Fsrc%2FAsyncPanZoomController.cpp&line=4530 ) and its comment in the method.
2020-04-14 16:24:36 -07:00
Yury Semikhatsky
24d51cb2bb
test: delete "Node.constructor.name in utility context" ( #1788 )
2020-04-14 15:36:11 -07:00
Pavel Feldman
9d05038a82
feat(hints): hint at how waitFor(time) is bad for production ( #1781 )
2020-04-14 15:00:10 -07:00
Dmitry Gozman
2e6f544342
chore(webkit): stop using windowOpen signal to determine initial empty page ( #1776 )
2020-04-14 14:51:23 -07:00
Pavel Feldman
c2fc4035ba
doc(keyboard): document Shift+ArrowLeft notation ( #1771 )
2020-04-14 13:11:02 -07:00
Dmitry Gozman
274c6c1450
test(chromium): add more oopif tests ( #1685 )
2020-04-14 13:00:10 -07:00
Lucas Willems
bb0b6cd90a
Update api.md ( #1773 )
2020-04-14 08:38:59 -07:00
Pavel Feldman
cd5a48ffcb
test(geolocation): test context isolation ( #1770 )
2020-04-13 21:43:06 -07:00
Andrey Lushnikov
32ff5a7e10
devops(circleci): properly run all tests
2020-04-13 19:18:54 -07:00
Andrey Lushnikov
abf1219fc1
docs(api.md): string values should be quoted ( #1766 )
2020-04-13 18:58:03 -07:00
Yury Semikhatsky
1c1d81cf3a
fix(firefox): make scroll&click tests pass ( #1760 )
2020-04-13 18:30:00 -07:00
Pavel Feldman
f36973f683
browser(webkit): propagate language change to site processes ( #1769 )
2020-04-13 16:57:22 -07:00
Pavel Feldman
b95fcaeee5
browser(webkit): move context instrumentation from pool to dataStore ( #1763 )
2020-04-13 14:56:01 -07:00
Dmitry Gozman
a3571c24c4
fix(testrunner): respect timeout=0 in hooks ( #1764 )
2020-04-13 14:30:51 -07:00
Dmitry Gozman
29a6cdff6b
fix(tests): fix a race with golden setup ( #1757 )
...
When running multiple browsers, we should take the golden information from the state.
2020-04-13 14:12:44 -07:00
Dmitry Gozman
9542f47511
feat(selectors): deep selector which pierces open shadow roots ( #1738 )
2020-04-13 13:04:27 -07:00
Yury Semikhatsky
126b54f767
browser(firefox): implement Page.scrollIntoViewIfNeeded ( #1759 )
2020-04-13 11:31:02 -07:00
Andrey Lushnikov
3b23041b1b
devops: use node 10 on appveyor ( #1714 )
2020-04-13 10:55:38 -07:00
Dmitry Gozman
62a493ecbd
chore(test): move more test options to state ( #1761 )
...
This reduces the number of globals and allows to configure more options dynamically.
2020-04-12 22:19:26 -07:00
Joel Einbinder
a7572c7f09
feat: nicer error message for page.addScriptTag ( #1754 )
2020-04-12 18:46:53 -07:00
Joel Einbinder
8536fa885e
test(interception): add redirect test, failing in webkit and firefox ( #1753 )
2020-04-12 18:45:55 -07:00
Pavel Feldman
97c4054b7a
test(websockets): add web sockets tests ( #1758 )
2020-04-12 18:28:42 -07:00
Dmitry Gozman
277c7d872f
test: close extra browser ( #1756 )
2020-04-12 15:30:53 -07:00
Pavel Feldman
368e1cc49b
chore(input): refactor keyboard layout, extract pure layout ( #1681 )
2020-04-11 00:24:17 -07:00
Pavel Feldman
9249f33709
feat(webkit): roll WebKit, migrate to Playwright.exe ( #1749 )
2020-04-10 21:02:28 -07:00
Dmitry Gozman
bf656ea318
fix(tests): accomodate isplaywrightready ( #1746 )
2020-04-10 20:31:50 -07:00
Dmitry Gozman
cd2ecb2212
fix(types): allow explicit subtypes for unwrapped handles ( #1747 )
2020-04-10 20:10:34 -07:00