I encouter a issue while trying to get some elements by xpath using selenium in python.
I work on webpages similar to this one : https://warframe.market/items/mirage_prime_set
I'm trying to get the item price however selenium doesn't find the element I'm looking for but I can find it using xpath on my browser.
picture : xpath result on browser (in red are the elements I'm looking for)
There is my code :
price_list = driver.find_elements_by_xpath( '//div[@class="orders-row__element order__price sell_color"]/span[1]' )
print( len(price_list) ) #there is my issue, price_list is empty
but it raise a NotSuchElementExeption, using an abolute path instead of a relative one do not raise such exeption but I wonder why the relative path dos not work ?
I hope I'm being clear enought (if not just tell me) and I apologize for my English.
If someone can help me it would be great, thank you.