jrandolf
c14f9b64a7
chore: implement typed Locators, expects, and internal contexts ( #10573 )
2023-07-19 15:39:38 +00:00
Alex Rudenko
c7f3fb21be
test: enable addScriptTag tests ( #10583 )
2023-07-18 21:55:30 +02:00
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
Alex Rudenko
56a97dd2fb
fix: add an internal page.locatorRace ( #10512 )
2023-07-06 09:24:19 +02:00
Kiko Beats
87aaed4807
feat(screenshot): enable optimizeForSpeed ( #10492 )
2023-07-03 11:43:34 +02:00
Baptiste Lombard
a88d1936ca
docs: replace evaluateHandle with evaluate in the evaluate page ( #10439 )
2023-06-23 11:14:30 +02:00
Nikolay Vitkov
337184e722
chore: BiDi waitForNavigation ( #10424 )
2023-06-21 12:45:17 +02:00
jrandolf
3ba7fba838
chore: implement Bidi keyboard ( #10417 )
2023-06-19 17:44:39 +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
Nikolay Vitkov
138cc5c961
fix: WaitForNetworkIdle and Deferred.race ( #10411 )
2023-06-19 08:11:59 +00:00
Alex Rudenko
eda592426e
chore: enable waitForFunction tests ( #10396 )
2023-06-16 12:58:08 +02: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
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support ( #10318 )
2023-06-06 12:39:54 +00:00
Alex Rudenko
b81b019083
chore: mark Locator constructor as private ( #10322 )
2023-06-06 11:51:34 +02:00
Alex Rudenko
1f978f5fc5
feat: implement Locators ( #10305 )
2023-06-02 17:46:10 +00:00
Nikolay Vitkov
4d0dbbc517
feat: add page.removeExposedFunction
( #10297 )
2023-06-02 14:08:36 +02:00
Thiago Perrotta
27db1eb4f4
docs: add webp to captureScreenshot.format ( #10295 )
2023-06-01 15:49:27 +00:00
Nikolay Vitkov
39e9737232
refactor: Deferred to a class ( #10282 )
2023-05-31 23:36:19 +02:00
Nikolay Vitkov
e61d9cbb4b
chore: refactor waitForNetworkIdle + waitForEvent ( #10277 )
2023-05-31 09:32:16 +02:00
Nikolay Vitkov
b03acac30f
chore: add support for waitForNetworkIdle ( #10261 )
2023-05-30 11:07:55 +00:00
Junyan
b5a124ff73
feat: Page.removeScriptToEvaluateOnNewDocument ( #10250 )
...
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-05-26 07:56:45 +00:00
Nikolay Vitkov
0cac94c0d6
chore: EventEmitter should mimic NodeJS' one ( #10241 )
2023-05-24 17:57:56 +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
2808240c71
chore: implement Frames for BiDi ( #10121 )
2023-05-15 16:39:47 +02:00
Alex Rudenko
9a1aff8a4c
chore: implement locators with a click ( #10009 )
...
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2023-05-05 09:11:16 +00:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium ( #10054 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-05-02 08:53:40 +02:00
jrandolf
8124a7d5bf
fix: implement click count
( #10069 )
2023-04-25 13:28:47 +02:00
Nikolay Vitkov
327febe2c9
chore: importFs handles it's own error ( #9971 )
2023-04-04 17:29:29 +02:00
Nikolay Vitkov
1396274477
docs: remove some redundant instances of @returns ( #9943 )
2023-03-30 11:54:00 +00:00
Nikolay Vitkov
e0eef01f1c
docs: use code block for single values ( #9936 )
2023-03-29 15:27:29 +02:00
Nikolay Vitkov
a99abc9a2f
docs: remove unhelpful api pages ( #9933 )
2023-03-28 18:02:00 +00: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
95c99e84b8
chore: add PDF print for BiDi ( #9914 )
2023-03-27 11:39:40 +02: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
38d511b5c2
docs: fix some api-extractor warnings ( #9806 )
2023-03-09 09:22:09 +01:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order ( #9685 )
2023-02-15 15:09:31 -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
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
Kian-Meng Ang
4437bceb6e
docs: fix typos ( #9476 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-01-16 20:25:09 +01:00
Alex Rudenko
1668d47b2f
docs: various doc improvements ( #9396 )
...
See commits for details.
Closes #1837 , #5880 , #7822 , #8101 , #8821 , #9367 , #9382 , #9378 , #4731
2022-12-09 13:57:39 +01:00
Nikolay Vitkov
89ff872120
chore: Update CI file to use new set method ( #9389 )
...
Closes #9373 ,
Fixes #9296
2022-12-09 10:49:53 +01:00