1
1
mirror of https://github.com/microsoft/playwright.git synced 2024-12-15 06:02:57 +03:00
Commit Graph

2434 Commits

Author SHA1 Message Date
Rui Figueira
73ffaf65d7
fix(codegen): fill action prevents omnibox navigation recording ()
This PR is a fix proposal for a bug when trying to record a omnibox
navigation after a recorded action (e.g., `fill`).

The following test, included in this PR, reproduces the problem:

```ts
  test('should record omnibox navigations after recordAction', async ({ page, openRecorder, server }) => {
    const recorder = await openRecorder();
    await recorder.setContentAndWait(`<textarea></textarea>`);
    await Promise.all([
      recorder.waitForOutput('JavaScript', 'fill'),
      page.locator('textarea').fill('Hello world'),
    ]);
    // for performed actions, 5 seconds is the time needed to ensure they are committed
    await page.waitForTimeout(5000);
    await page.goto(server.PREFIX + `/empty.html`);
    await recorder.waitForOutput('JavaScript', `await page.goto('${server.PREFIX}/empty.html');`);
  });
```

After performed actions (e.g., `click`), it successfully records the
navigation as long as there's at least a 5 sec. gap between both
actions. That happens because after that 5 sec. interval the performed
action is automatically commited and therefore the navigation is not
stored as a signal of that action.

The proposed fix for recorded actions also forces that action to be
automatically commited after 5 sec (for testing, I'm using 500ms to
speed up the test execution).
2024-03-04 12:31:03 -08:00
Max Schmitt
ef0a24a1b0
chore: remove chromium-with-symbols build () 2024-03-04 20:12:01 +01:00
Playwright Service
de73af99fa
feat(firefox): roll to r1443 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-04 18:11:17 +01:00
Playwright Service
a431afb818
feat(webkit): roll to r1986 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-04 18:11:04 +01:00
Pavel
04e1747038 chore: follow up to align the tsdoc 2024-03-02 07:32:44 -08:00
PaulTriandafilov
8e48ee714d
feat(playwright-core): add remove cookies api () 2024-03-02 07:27:01 -08:00
Dmitry Gozman
ba3d887660
docs: improve addLocatorHandler docs () 2024-03-01 11:19:37 -08:00
Dmitry Gozman
a8c26d235c
Revert "chore(role): cache element list by role ()" ()
This reverts commit 1ce3ca25a2.

Added a regression test.

Fixes .
2024-03-01 09:37:28 -08:00
Playwright Service
f8e441a521
feat(chromium): roll to r1107 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-01 16:38:09 +01:00
Playwright Service
ceb1dd01aa
feat(chromium-tip-of-tree): roll to r1198 ()
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-03-01 14:29:12 +01:00
Playwright Service
8780f7ad46
feat(chromium-tip-of-tree): roll to r1197 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-01 09:31:56 +01:00
Dmitry Gozman
0f30cdab23
feat(firefox): roll ff and ff-beta to 1442 ()
This requires changes in `FFPage`.
Also fixing a new ff-specific test that introduced flakiness on the
bots.

Closes https://github.com/microsoft/playwright/pull/29750
Closes https://github.com/microsoft/playwright/pull/29724
Closes https://github.com/microsoft/playwright/pull/29681
Closes https://github.com/microsoft/playwright/pull/29678
2024-02-29 14:44:45 -08:00
Playwright Service
0da29959fa
feat(chromium-tip-of-tree): roll to r1196 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-29 20:10:46 +01:00
Playwright Service
30be5e0d26
feat(webkit): roll to r1985 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-29 18:58:37 +01:00
Pavel Feldman
d9a00342c8
fix(HEAD): revert GET->HEAD migration, net-effect was negative ()
Fixes: https://github.com/microsoft/playwright/issues/29732
2024-02-29 09:02:05 -08:00
Playwright Service
6bd7665bce
feat(webkit): roll to r1984 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-29 15:37:32 +01:00
Dmitry Gozman
aedd7ca0be
chore: make CRNetworkManager handle multiple sessions ()
It was already handling worker sessions, but not OOPIFs. As a result,
some functionality was properly implemented only for OOPIFs and not for
workers.

This change removes OOPIFs fanout for network-related calls from CRPage
and moves that to the CRNetworkManager, now also covering workers.
2024-02-28 15:51:27 -08:00
Pavel Feldman
8264bec01e
fix(ff): stop gap for setInputFiles race () 2024-02-27 11:50:24 -08:00
Pavel Feldman
9d0430fa26
chore: strengthen linting () 2024-02-26 16:52:28 -08:00
Yury Semikhatsky
01846b954d
chore: mark 1.43.0-next () 2024-02-26 16:45:25 -08:00
Playwright Service
9a38aedf09
feat(firefox): roll to r1440 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-24 09:19:46 +01:00
Playwright Service
034b550810
feat(firefox-beta): roll to r1440 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-23 21:03:38 +01:00
Playwright Service
50e7d8ca7a
feat(chromium-tip-of-tree): roll to r1195 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-22 17:28:09 +01:00
Playwright Service
85df43520e
feat(chromium): roll to r1105 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-22 17:27:59 +01:00
Playwright Service
fde5db4eb8
feat(webkit): roll to r1983 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-22 16:56:42 +01:00
Yury Semikhatsky
5ca8e17a2d
fix: resend overridden headers on redirect without merging ()
Reference https://github.com/microsoft/playwright/issues/13106
2024-02-22 07:44:14 -08:00
Playwright Service
7c9ca0c7ef
feat(chromium): roll to r1104 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-21 16:25:15 +01:00
dependabot[bot]
6c8d81d957
chore(deps): bump ip from 2.0.0 to 2.0.1 in /packages/playwright-core/bundles/utils () 2024-02-20 20:36:42 +01:00
Jean-François Greffier
6494bb30a0
JUnit codegen ()
Codegen for JUnit

Fixes https://github.com/microsoft/playwright-java/issues/1039

Following JUnit5 integration
https://github.com/microsoft/playwright-java/issues/1369
2024-02-20 11:08:53 -08:00
Pavel Feldman
d573c515a3
chore: add test server stub () 2024-02-20 09:56:33 -08:00
Max Schmitt
84fefdaac6
fix(console-api): locator filter with hasText ()
Relates https://github.com/microsoft/playwright/issues/29546
2024-02-20 17:35:11 +01:00
Playwright Service
023ef97c49
feat(webkit): roll to r1982 ()
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-02-20 09:24:50 +01:00
Playwright Service
e06f7a881d
feat(webkit): roll to r1981 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-19 23:06:00 +01:00
Playwright Service
ce8cda006e
feat(webkit): roll to r1980 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-19 09:31:03 +01:00
Yury Semikhatsky
f3fde992eb
chore: remove --project-grep, add wildcard support ()
Reference 
2024-02-16 19:18:00 -08:00
Pavel Feldman
043c5aaffb
chore: follow up to web socket util extraction () 2024-02-16 18:16:45 -08:00
Sylvain Finot
b11b118e02
feat(chromium): expose parameters to generate outline / tagged PDF ()
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-02-15 17:28:04 +01:00
Playwright Service
a3d62acbdd
feat(chromium): roll to r1103 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-15 17:03:00 +01:00
Playwright Service
2be5e97a29
feat(chromium-tip-of-tree): roll to r1194 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-15 17:02:47 +01:00
Max Schmitt
ce5d970929
docs: make sure to await route.* methods ()
Fixes https://github.com/microsoft/playwright/issues/29471
Follow-up on https://github.com/microsoft/playwright/pull/28745.
2024-02-14 17:57:12 +01:00
Playwright Service
593bf35eb7
feat(webkit): roll to r1979 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-14 16:10:57 +01:00
Yury Semikhatsky
2693614c7a
Revert "fix(chromium): best effort 304 status on reload ()" ()
This reverts commit 17bc8f9a15.

Reference https://github.com/microsoft/playwright/issues/28779
Fixes https://github.com/microsoft/playwright/issues/29441
2024-02-13 11:43:04 -08:00
Playwright Service
ff4191335d
feat(chromium-tip-of-tree): roll to r1193 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-13 14:55:03 +01:00
Max Schmitt
30557ed28c
fix(electron): stalling on delayed process close () 2024-02-13 10:25:46 +01:00
Max Schmitt
fe81790221
fix(accessibility): firefox with aria-invalid element ()
Fixes https://github.com/microsoft/playwright/issues/29459
2024-02-12 12:12:31 -08:00
Max Schmitt
498b8bb269
fix(tracing): do not serialise out-of-process Buffers () 2024-02-12 21:03:38 +01:00
Dmitry Gozman
f0244b8a76
chore: rename handleLocator to addLocatorHandler () 2024-02-09 15:18:50 -08:00
Playwright Service
32a1d49729
feat(webkit): roll to r1978 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-08 19:19:30 +01:00
Dmitry Gozman
61955e55b1
fix(handleLocator): address API review feedback ()
- docs improvements;
- `force: true` ignores `handleLocator`;
- wrapping an internal call;
- more test cases;
- `pw:api` log entries for this API.
2024-02-08 07:39:05 -08:00
Playwright Service
a131843c59
feat(chromium-tip-of-tree): roll to r1192 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-08 15:41:53 +01:00