We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada9487 commit 71761a7Copy full SHA for 71761a7
lab4/main_test.js
@@ -9,7 +9,6 @@ const puppeteer = require('puppeteer');
9
// Navigate the page to a URL
10
await page.goto('https://pptr.dev/');
11
12
-
13
// Click search button
14
await page.click('button.DocSearch.DocSearch-Button');
15
@@ -32,21 +31,6 @@ const puppeteer = require('puppeteer');
32
31
// Print the title
33
console.log(title);
34
35
36
// Close the browser
37
await browser.close();
38
})();
39
40
- // Hints:
41
- // Click search button
42
- // Type into search box
43
- // Wait for search result
44
- // Get the `Docs` result section
45
- // Click on first result in `Docs` section
46
- // Locate the title
47
- // Print the title
48
49
- // Close the browser
50
- await browser.close();
51
-})();
52
0 commit comments