Example code returns an empty array.
See original GitHub issueI went through a debugging hell of things, until I realized that even your example will only return an empty array, at least on my computer. With a fresh install of Node 12, a new project initialized with npm init and just your dependency and your example code, I was not able to get ANY result what so ever.
Terminal Things.
➜ test node:(v12.16.1) npm start
> test@1.0.0 start /Users/alt/Documents/Code/_private/test
> node index.js
results []
Issue Analytics
- State:
- Created 4 years ago
- Comments:35 (11 by maintainers)
Top Results From Across the Web
How to return an empty array in java? (with example)
An Empty Array is an array with length 0 i.e. it has no elements. This indicates the array along with its reference exists...
Read more >Returning an empty array - java - Stack Overflow
A different way to return an empty array is to use a constant as all empty arrays of a given type are the...
Read more >Java - How to return empty array? - JavaProgramTo.com
Another approach is to create the empty array is using empty curly braces like {}. We no need of using new keyword and...
Read more >Return Empty Array in Java | Delft Stack
In Java, we can instantiate an array using { } with the elements inside, and the array size is the number of elements...
Read more >4 Ways to Empty an Array in JavaScript
1) Assigning it to a new empty array ... This is the fastest way to empty an array: a = [];. This code...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I wrote my own solutions for Yahoo and Ecosia, I tried Yandex, but it seems to be a bit complex. https://github.com/IamRifki/alt-image-scraper
Hey, so after a while I made a script that actually works. One thing to keep in mind if you’re going to implement step number 3 (Right click item) is to not use puppeteer for sending right clicks. Just send a “mousedown” MouseEvent in the browser which is almost instant.
Here’s a gist containing my approach: https://gist.github.com/smokes/f951a219e85058a051bf11ef8e72780d