I need to execute a javascript function on the page, by passing it an array of strings. I want to avoid having to call browser.execute_script
number of times.
list_of_strings = ['a','b','c']
#js code runs through all the strings
result = browser.execute_script("function findTexts(textList){//code here}", list_of_strings)