Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add headless browser script #85

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nit
  • Loading branch information
Zechereh committed Oct 30, 2024
commit e126dc6c1f5702d20b88bc06b170ee108af016ba
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const STOCK_NUMBER_QUERY = `
await searchResponse.search_products_box.type('Charmander');
await normalPage.keyboard.press('Enter');

// Use queryData() method to locate the stock number from the page.
// Use queryData() method to fetch the stock number from the page.
const stockResponse = await wrappedPage.queryData(STOCK_NUMBER_QUERY);
console.log(stockResponse);

Expand Down
Loading