I am trying to click on a specific descendent of an element. I have done gotten the ancestor by ng-class because it does not have an id.
yes = document.querySelectorAll('[ng-controller = "inventoryController"]')
Now that I have the ancestor I want, I want to get the descendent. Once again, they element does not have an id, so I use ng-src to get it.
yes2 = document.querySelectorAll('[ng-src = "link.com/link/here"]')
So How would I use this code to click on the descendent? something like this?
yes[1].yes2[0].click