I am trying to get the value of an image using this code:
image = doc.querySelector("img.product-pic-image").getAttribute("src");
I keep getting null.
Here is the DOM:
Please help. Here is the link of the product: http://www.aliexpress.com/item/Aluminium-alloy-Pedal-for-Toyota-Mark-X-Reiz-AT-Stainless-Rubber-antiskid-Gas-accelerator-pedal-Brake/32571226955.html?spm=2114.13010208.99999999.261.YEDcC7
I am trying to access it from this page, once added to the cart: http://shoppingcart.aliexpress.com/shopcart/shopcartDetail.htm?spm=2114.13010208.99999999.90000003
Thanks.