I have no experience in javascript.
Basically i want to get image src
and aria-label
name using javascript. I try many scripts on console like this
var image = document.getElementsByClassName("");
var src = image.getAttribute('src');
console.log(src);
but did't get solution. Can any one please tell me how i can get this.
URl is that i want to get using javascript. Thanks