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 {
73
73
await Actor.init ();
74
74
75
75
const {
76
- parallelRunsCount= 1,
76
+ parallelRunsCount = 1,
77
77
targetActorId,
78
78
targetActorInput = {},
79
79
targetActorRunOptions = {},
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const page = await browser.newPage();
118
118
119
119
await page .goto (' https://google.com/' );
120
120
121
- const params = { randomString: Math .random ().toString (36 ).slice (2 ) }
121
+ const params = { randomString: Math .random ().toString (36 ).slice (2 ) };
122
122
123
123
await page .evaluate (({ randomString }) => {
124
124
document .querySelector (' title' ).textContent = randomString;
@@ -140,7 +140,7 @@ const page = await browser.newPage();
140
140
141
141
await page .goto (' https://google.com/' );
142
142
143
- const params = { randomString: Math .random ().toString (36 ).slice (2 ) }
143
+ const params = { randomString: Math .random ().toString (36 ).slice (2 ) };
144
144
145
145
await page .evaluate (({ randomString }) => {
146
146
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
38
38
``` js
39
39
// Click the "I agree" button
40
40
await page .click (' button:has-text("Accept all")' );
41
-
42
41
```
43
42
44
43
</TabItem >
@@ -47,7 +46,6 @@ await page.click('button:has-text("Accept all")');
47
46
``` js
48
47
// Click the "I agree" button
49
48
await page .click (' button + button' );
50
-
51
49
```
52
50
53
51
</TabItem >
You can’t perform that action at this time.
0 commit comments