I understand that astronomers often locate planets orbiting other stars. They do this by detecting the "wobble" of a star. They can't actually see the planet right? Isn't it true that dark matter is also detected by it's gravitational influence on nearby objects? Maybe this is a dumb question, but how do we know that the dark matter isn't just stuff like planets that we can't see because stars are in the way, or are too bright?