Q: Selenium, python: How to extract  and all contained the 
A: script is not web element, so you cannot use presence_of_all_elements_located , I think you need get the HTML source of the page first, you may want to refer to https://stackoverflow.com/a/7866938/2526362
Or you can change to use Beautiful Soup to deal with the HTM source, which should be more easier to use
