Dmitry Gozman
88f32b214d
feat: save/load storage options ( #166 )
...
feat: save/load storage options
User can save the storage, and then load the storage in the next script.
```sh
npx playwright-cli --save-storage=storage.json open www.needs-login.com
npx playwright-cli --load-storage=storage.json codegen www.needs-login.com
```
2020-12-15 10:42:48 -08:00
Joel Einbinder
92c2cfd959
chore(lint): add eslint ( #164 )
2020-12-14 09:24:14 -08:00
Pavel Feldman
0f6d8f0eea
fix(checkbox): handle checkbox with dynamicly changing selector ( #149 )
2020-12-03 18:05:15 -08:00
Pavel Feldman
d0ee952ee7
fix(codegen): do not fail open if no target specified ( #140 )
2020-11-16 19:25:15 -08:00
Pavel Feldman
0e0dc006c5
chore: roll to post-1.6.0 ( #133 )
2020-11-12 16:36:55 -08:00
Darío Kondratiuk
c477580068
feat(codegen): introduce C# codegen ( #131 )
2020-11-10 16:22:50 -08:00
Pavel Feldman
d8a6cd94e2
chore: close context before exit ( #113 )
2020-10-13 08:35:48 -07:00
Pavel Feldman
fdfa3717a8
chore: roll Playwright and Folio to latest ( #112 )
2020-10-12 18:54:41 -07:00
Pavel Feldman
941195c5ed
feat(python): generate sync dialect by default ( #109 )
2020-10-12 14:30:34 -07:00
Arjun Attam
ce038101ac
chore: reduce footer separator length ( #105 )
2020-10-09 14:50:59 -07:00
Pavel Feldman
e248abab2f
fix(misc): misc bugfixes ( #104 )
2020-10-08 20:53:22 -07:00
Dmitry Gozman
ccc3f63690
feat(codegen): support python ( #94 )
...
`codegen --target=python` now emits async python code.
2020-10-08 10:28:20 -07:00
Dmitry Gozman
76ba600ccf
feat(codegen): generate selectors in shadow dom ( #92 )
2020-10-05 09:54:59 -07:00
Pavel
2447f960e7
Revert "fix(codegen): escape slashes correctly in JavaScript ( #75 )"
...
This breaks xpath selectors.
2020-09-28 13:16:37 -07:00
Max Schmitt
37c99060f6
fix(codegen): select and input[type=date] ( #87 )
2020-09-25 22:34:32 +02:00
Max Schmitt
e6a7a119ba
fix(codegen): escape slashes correctly in JavaScript ( #75 )
2020-09-25 13:39:12 +02:00
Max Schmitt
e04e8364f1
fix(codegen): HTML/root element was clicked ( #66 )
2020-09-13 16:54:31 +02:00
Max Schmitt
f7963b6e38
feat: refactoring to provide cross-lang support ( #64 )
2020-09-12 19:03:26 -07:00
Pavel Feldman
bc0dffeb58
feat(browser.close): generate browser.close in the end ( #62 )
2020-09-11 19:31:46 -07:00
Max Schmitt
5b0baa0fe5
feat(codegen): save output to file if specified ( #59 )
2020-09-11 14:43:44 -07:00
Pavel Feldman
efff74ad51
chore: roll test-runner to 0.3.7
2020-09-10 21:28:15 -07:00
Max Schmitt
9a2ef83e98
fix(codegen): shortcuts for ctr + a/c/v and at sign ( #53 )
2020-09-10 00:27:45 +02:00
Pavel Feldman
bd9098520e
fix(test): fix Ctrl/Meta modifier in the popup test
2020-09-09 14:34:23 -07:00
Pavel Feldman
a7ab322867
fix(mouse): emit mouse events in order ( #57 )
2020-09-09 14:12:21 -07:00
Pavel Feldman
e8047b4537
fix(clash): don't clash signals from different pages ( #56 )
2020-09-09 13:49:33 -07:00
Max Schmitt
47748ac6da
enh(codegen): spread devices inside context ( #44 )
2020-09-09 17:14:57 +02:00
Max Schmitt
928ed88ca6
fix(codegen): textarea handling ( #51 )
2020-09-09 16:59:28 +02:00
Pavel
85e57228a6
chore: roll test-runner to 0.3.4
2020-09-08 18:01:54 -07:00
Pavel
f6e12059e6
fix(press): do not dispatch keyup twice
2020-09-08 17:08:08 -07:00
Pavel
cc2453ca61
fix(newpage): make sure new page is navigated
2020-09-08 14:14:59 -07:00
Pavel
b38c120d45
fix(key): record navigation key presses
2020-09-08 13:29:30 -07:00
Pavel
70e0163d40
chore: roll test-runner to 0.3.3
2020-09-08 11:02:23 -07:00
Pavel Feldman
b3e6ab8f71
chore: roll playwright to 1599519120622 (2)
2020-09-07 16:49:02 -07:00
Pavel Feldman
2a7746ebb2
chore: roll playwright to 1599519120622
2020-09-07 16:46:52 -07:00
Pavel Feldman
d6a8703a34
chore: migrate to the sync engine query
2020-09-06 23:15:47 -07:00
Pavel Feldman
b274301b10
test: make tests reliable via emitting generated code after action
2020-09-06 21:39:50 -07:00
Max Schmitt
0e6b779da5
feat(codegen): added dialog support ( #36 )
2020-09-06 11:20:02 +02:00
Pavel Feldman
0e446c24ea
test: roll test-runner to 0.3.2
2020-09-05 15:04:18 -07:00
Max Schmitt
9eb0e09067
feat: download support ( #35 )
2020-09-05 23:16:29 +02:00
Max Schmitt
5fe3a60ea1
feat(codegen): allow file uploads ( #33 )
2020-09-05 20:33:38 +02:00
Pavel Feldman
439c7235f2
test: mark test as failing due to upstream issue
2020-09-05 08:58:42 -07:00
Max Schmitt
69e847d4b5
test(codegen): add test for using Tab ( #30 )
2020-09-05 13:53:09 +02:00
Pavel Feldman
fe2da88604
fix(input): do not use input value in selectors
2020-09-05 00:13:39 -08:00
Pavel Feldman
fa17f7e5ea
fix(focus): treat keyboard and mouse differently ( #32 )
2020-09-04 16:50:40 -07:00
Max Schmitt
4368180516
fix(codegen): input attribute prioritisation ( #27 )
2020-09-03 16:33:40 -07:00
Pavel Feldman
5993a4ae2a
fix(page): generate newPage for new tabs ( #25 )
2020-09-03 14:28:13 -07:00
Max Schmitt
abd805114a
fix(codegen): invalid syntax for Promise.all ( #23 )
2020-09-03 14:25:00 -07:00
Dmitry Gozman
ff102b87de
fix: ensure we do not match selector preview ( #21 )
...
Also fixes the NPE when _hoveredSelector is undefined.
2020-09-03 14:19:14 -07:00
Pavel
8728fe1230
chore: roll test-runner to 0.2.10
2020-09-03 10:56:36 -07:00
Pavel
ea48d31fef
test: make tests work in matrix
2020-09-01 11:00:29 -07:00