File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
webscraping/puppeteer_playwright Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ interface Input {
7373await Actor.init ();
7474
7575const {
76- parallelRunsCount= 1,
76+ parallelRunsCount = 1,
7777 targetActorId,
7878 targetActorInput = {},
7979 targetActorRunOptions = {},
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const page = await browser.newPage();
118118
119119await page .goto (' https://google.com/' );
120120
121- const params = { randomString: Math .random ().toString (36 ).slice (2 ) }
121+ const params = { randomString: Math .random ().toString (36 ).slice (2 ) };
122122
123123await page .evaluate (({ randomString }) => {
124124 document .querySelector (' title' ).textContent = randomString;
@@ -140,7 +140,7 @@ const page = await browser.newPage();
140140
141141await page .goto (' https://google.com/' );
142142
143- const params = { randomString: Math .random ().toString (36 ).slice (2 ) }
143+ const params = { randomString: Math .random ().toString (36 ).slice (2 ) };
144144
145145await page .evaluate (({ randomString }) => {
146146 document .querySelector (' title' ).textContent = randomString;
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ Let's first focus on the first 3 steps listed above. By using `page.click()` and
3838``` js
3939// Click the "I agree" button
4040await page .click (' button:has-text("Accept all")' );
41-
4241```
4342
4443</TabItem >
@@ -47,7 +46,6 @@ await page.click('button:has-text("Accept all")');
4746``` js
4847// Click the "I agree" button
4948await page .click (' button + button' );
50-
5149```
5250
5351</TabItem >
You can’t perform that action at this time.
0 commit comments