Foreach Javascript Array Find Elements By Xpath Python