We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1310383 commit 397dae9Copy full SHA for 397dae9
duckduckgo_search.js
@@ -26,7 +26,8 @@ const expect = require('chai').expect;
26
await page.goto('https://www.duckduckgo.com');
27
const element = await page.$('[name="q"]');
28
await element.click();
29
- await element.type('BrowserStack\n');
+ await element.type('BrowserStack');
30
+ await element.press('Enter');
31
await page.waitForNavigation();
32
const title = await page.title('');
33
console.log(title);
0 commit comments