Earlier quoted context omitted.
You've got it backwards. It's not like a bunch of philosophers sat round and came up with the scientific method and until they did that there was no science. Scientists experimented and tried to justify their conclusions (sometimes badly or incorrectly), which lead to the philosophy of science. Karl Popper was a recent philosopher, not a forming giant of science, he rationalized the scientific method with falsifiabil…
I'm a big fan of science, and I think a lot of philosophy is dubious, but what you're saying doesn't sound right to me. Didn't Francis Bacon have a lot to do with the initial codification of the ideas behind the practice of science?
I'm not saying his philosophy wasn't a major contributor, but he was around at the time Philosophy and Science were splitting up and he formalized what the scientists were already starting to do.
Just in case anyone doesn't know, this all happened 400 years ago. That was the beginning of the end of philosophy having any influence on Science.