Can we select or fetch all elements by id in a web page using protractor?
I need to list down all elements in a webpage and I tried using the below code but got the error:

> 
> property) WebdriverBy.css: (css: string) => By
> Expected 1 arguments, but got 0.ts(2554)
> locators.d.ts(4, 11): An argument for 'css' was not provided.
> 
> 
> 

```
element.all(by.css()).each( function (el, idx) {            
    console.log(e1);           
}))

```