for i in range(1,55):
try :
productname=driver.find_element('xpath','//*[@id="lpBloc"]/li['+str(i)+']/a/div[2]/div/span').text
product_name.append(productname)
except:
print("none")
try :
productprice =driver.find_elements('class name','priceLine')
productprice= product_price.find_element('class name', 'price priceColor hideFromPro').text
product_price.append(productprice)
except:
print("none")
print(product_price)