Alex Rudenko
3b4ff2ad32
test: enable waitForXPath tests ( #10580 )
2023-07-18 21:11:12 +02:00
Alex Rudenko
a419abf509
test: unskip style tag tests ( #10572 )
2023-07-18 18:27:41 +02:00
Nikolay Vitkov
de09b058ba
chore: update Prettier and other deps ( #10555 )
2023-07-17 10:52:54 +02:00
Kiko Beats
87aaed4807
feat(screenshot): enable optimizeForSpeed ( #10492 )
2023-07-03 11:43:34 +02:00
Nikolay Vitkov
337184e722
chore: BiDi waitForNavigation ( #10424 )
2023-06-21 12:45:17 +02:00
jrandolf
4f6b0d4e45
chore: implement Webdriver BiDi mouse and touchscreen ( #10402 )
...
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-06-19 11:26:30 +00:00
jrandolf
39847bd231
refactor: use input API for CDP inputs ( #10401 )
2023-06-19 10:12:43 +02:00
Alex Rudenko
eda592426e
chore: enable waitForFunction tests ( #10396 )
2023-06-16 12:58:08 +02:00
Alex Rudenko
e4110746f1
chore: move more things to emulation manager ( #10390 )
2023-06-15 12:30:37 +00:00
Alex Rudenko
ca4ab96812
chore: roll back interfaces for wrapping CDP ( #10389 )
2023-06-15 13:34:54 +02:00
Alex Rudenko
9473d740e7
chore: tracing over bidi+ ( #10370 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-06-13 09:25:32 +00:00
Nikolay Vitkov
9aee41a53d
chore: run more BiDi test ( #10355 )
2023-06-12 14:50:30 +02:00
Nikolay Vitkov
a31231ef54
chore: implement common functions for BiDi ( #10345 )
2023-06-12 11:32:19 +02:00
Alex Rudenko
edb03d695b
chore: add a11y to bidi over bidi+ ( #10338 )
2023-06-07 13:54:09 +02:00
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support ( #10318 )
2023-06-06 12:39:54 +00:00
Nikolay Vitkov
4d0dbbc517
feat: add page.removeExposedFunction
( #10297 )
2023-06-02 14:08:36 +02:00
Nikolay Vitkov
39e9737232
refactor: Deferred to a class ( #10282 )
2023-05-31 23:36:19 +02:00
Nikolay Vitkov
b03acac30f
chore: add support for waitForNetworkIdle ( #10261 )
2023-05-30 11:07:55 +00:00
Nikolay Vitkov
39935c8a40
refactor: use Deferred for session close ( #10258 )
2023-05-30 09:03:42 +02:00
Alex Rudenko
ff22ba8679
refactor: rename DeferredPromise to Deferred ( #10255 )
2023-05-26 09:42:22 +00:00
Junyan
b5a124ff73
feat: Page.removeScriptToEvaluateOnNewDocument ( #10250 )
...
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-05-26 07:56:45 +00:00
Alex Rudenko
c9cca17833
refactor: make deferred promises more robust to use ( #10245 )
2023-05-26 08:02:17 +02:00
Junyan
81f73a55f3
feat: Page.setBypassServiceWorker ( #10229 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-05-23 13:51:32 +02:00
Nikolay Vitkov
070ee03d31
chore: network module for BiDi ( #10159 )
2023-05-22 14:52:31 +02:00
Nikolay Vitkov
2808240c71
chore: implement Frames for BiDi ( #10121 )
2023-05-15 16:39:47 +02:00
jrandolf
317fa732f9
feat: implement detailed errors for evaluation ( #10114 )
2023-05-10 10:23:29 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises
( #10084 )
2023-04-26 09:53:02 +00:00
jrandolf
8124a7d5bf
fix: implement click count
( #10069 )
2023-04-25 13:28:47 +02:00
Nikolay Vitkov
c4e1675589
chore: fix BiDi to use cm ( #9926 )
2023-03-28 11:57:58 +00:00
Nikolay Vitkov
3866e462bc
chore: add basic screenshot to BiDi ( #9923 )
2023-03-28 13:02:59 +02:00
Nikolay Vitkov
bb37df5f64
docs: add DeviceRequestPrompt documentation ( #9918 )
2023-03-27 13:16:51 +02:00
Nikolay Vitkov
95c99e84b8
chore: add PDF print for BiDi ( #9914 )
2023-03-27 11:39:40 +02:00
Nikolay Vitkov
36c029b38d
fix: waitForNavigation issue with aborted events ( #9883 )
2023-03-21 10:22:57 +01:00
Michael "Z" Goddard
a5149d52f5
feat: add Page.waitForDevicePrompt ( #9299 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-03-21 10:21:10 +01:00
Nikolay Vitkov
16b39de5ca
chore: extract HTTP prep for BiDi network module ( #9840 )
2023-03-15 17:51:34 +01:00
Nikolay Vitkov
175362c048
chore: add BiDi for goto
navigation ( #9795 )
2023-03-10 15:59:02 +00:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order ( #9685 )
2023-02-15 15:09:31 -08:00
Nikolay Vitkov
0c85c0611c
chore: Implement JSHandle for BiDi ( #9660 )
2023-02-15 10:29:18 +00:00
jrandolf
023c2dcdbc
refactor: implement reverse argument binding ( #9651 )
2023-02-14 07:54:44 -08:00
jrandolf
eb138635d6
fix: fix circularity on JSHandle interface ( #9661 )
2023-02-13 11:25:07 -08:00
Nikolay Vitkov
b8ea891ab8
chore: Extract JSHandle to API ( #9632 )
2023-02-09 18:04:06 +01:00
Rafael-Martins
f12f27e1eb
docs: clarify the waitForXPath return type ( #9541 ) ( #9583 )
2023-02-01 15:23:32 +00:00
Alex Rudenko
390685bbe5
fix: ignore not found contexts for console messages ( #9595 )
2023-01-30 10:22:55 +00:00
Ophir Back
e3d69ec554
feat(page): Adding support for referrerPolicy in page.goto
( #9561 )
...
Issue: #9394
**What kind of change does this PR introduce?**
Feature - Added support of the `referrerPolicy` parameter (from CDP's
`Page.navigate`) to Puppeteer's `page.goto`.
**Did you add tests for your changes?**
No, currently it has no meaning that isn't browser implementation based,
which might get broken in the future. If there are suggestions to tests,
please let me know so I'll add them.
**If relevant, did you update the documentation?**
Yes, the documentation of the `goto` method has been updated.
**Summary**
I wanted to contribute to this project, which I used for testing on our
environment and saw issue #9394 , so I decided to resolve it :)
**Does this PR introduce a breaking change?**
No. I added the `referrerPolicy` as an optional parameter, which will
use the HTTP header `Referrer-Policy` if not provided (much like the
`referer` parameter) so it will not interfere.
Co-authored-by: Ophir Back <ophir.back@broadcom.com>
2023-01-23 11:11:20 +00:00
Alex Rudenko
6847f8835f
fix: improve screenshot method types ( #9529 )
...
The only drawback of adding overrides is that our documentation
generator would generate a page for each overload which might be hard to
read/find on the documentation website.
Closes #9512 #9385
2023-01-18 14:06:20 +00:00
Junyan
6bc152ece0
chore: small refactor for screenshotTask ( #9451 )
2023-01-02 11:01:36 +01:00
Darío Kondratiuk
e3e9cc622a
fix(puppeteer-core): target interceptor is not async ( #9430 )
...
I found that the only call to `addTargetInterceptor` passes
`onAttachedToTarget` and is not async.
I also found a typo 🤓
2022-12-17 17:47:21 +00:00
Alex Rudenko
810e0cd74e
fix: remove oopif expectations and fix oopif flakiness ( #9375 )
...
With M109 the flakiness should be reduced. Any present flakiness should
be investigated.
Drive-by: a new debugging helper to debug on CI.
2022-12-09 11:36:39 +00:00
jrandolf
cb01c5c043
docs: remove comments on Page implementation ( #9325 )
...
This PR removes comments on CDPPage since they are redundant.
2022-11-24 13:10:29 +01:00
Guillaume Gomez
0a2d310e4e
docs: fix typo in Viewport fields ( #9293 )
...
The `deviceScalarFactor` field of `Viewport` is actually named
`deviceScaleFactor`.
2022-11-17 17:27:07 +01:00