(May-18-2021, 10:18 AM)euras Wrote: I need just to feed somehow the index into element path, to make it work, and runThen you can not do it like this.
.find_elements_by_tag_name('tr')[f'{inda}']
find_elements_by_tag_name('tr')
in a loop return a webelement
that can not be access bye referring to a index number[1]
.find_element_by_css_selector
can be used to as showed in other Thread can be used to insert a index number.If use
find_elements_by_tag_name('tr')
not in a loop so get all element,then can get use elements[1]
on that list return.