i have a dout why we are putting that curly braces in the findALL function when we are searching for the h1 types of heading
Why we putting curly braces in findALL function
hey @tanujvats0002_111433f919bfdb0c ,
currently in video it is not shown as such , but there is a use of that {} in findAll function.
Suppose , you don’t want to find all the heading tags , but only the ones that have a defined class/attribute in them , so then you can state that class name /attribute name and there value in that {} like we provide parameters. and that way it works.
I hope this helps you.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.