I am programming something that selects size 10.5 on this website: http://www.ruvilla.com/new/men/footwear/nike-air-foamposite-one-concord.html
Currently I am testing my code using the Google Chrome console. Here is my code:
document.getElementsByClassName('villa-lb-span').getAttribute = "10.5".select;
The outcome in the Google Chrome console is "undefined". My goal with this is to select size 10.5 ... Can someone please provide me some feedback on my code?
The sizes are stored in a dropdown. I'm just not sure why my code isn't working. I have been working on this for about 2 hours and I have checked all around this forum. Nothing seems to be working for me. Any help would be highly appreciated. Thanks!