Wind and solar are currently the most popular and fastest growing renewable energy sectors in the world. Both wind and solar are renewable energy sources with overall positive environmental impact and from ecological point of view they certainly have the edge over fossil fuels.
Wind energy is more widely used source of energy when compared with solar energy. The main reason why global wind power capacity significantly outweighs global solar power capacity is better cost-competitiveness, namely new wind energy technologies have significantly reduced the costs of wind turbines which has brought wind energy costs very near to the costs of fossil fuels. The prices of solar panels have been also dropping rapidly but wind energy still remains cheaper energy option in many parts of the world.
Both wind and solar have huge potential though solar energy has the obvious advantage here because solar energy potential is almost unlimited. Also, in broader terms wind energy is actually the form of Sun's energy.
Both of these renewable energy sources are intermittent energy sources so they are in the need of adequate energy storage solutions for periods when Sun doesn't shine and wind doesn't blow. Science is working very hard to find energy storage solution(s) that should be both cheap and efficient.
Both solar and wind are still in need of subsidies in large part of the world though solar energy requires lot more incentives and tax benefits because of higher prices compared to wind energy.
Solar and wind energy industry are few remaining industries that show constant growth in the number of new jobs. At this moment wind energy industry provides more green jobs than solar energy industry because it is better developed, but on the other hand solar energy industry is fastest growing industry in the world, with excellent potential to provide new jobs for millions of people all across the globe.
Wind energy sector is currently more developed, has better costs and employs more people than solar energy sector. But on the long run solar energy should become No.1 renewable energy option, primarily because future technological advancements should make the full use of extreme abundance of Sun's energy and create cheap and efficient solar energy technologies. Wind may have the slight edge in present but future looks likely to belong to solar.
The question which of these two energy sources is better energy option isn't as relevant as the transition to renewable energy itself. It is really of no great importance whether solar or wind energy will rule the global energy market since both these energy sources are renewable and environmentally friendly, and therefore each of them could do plenty of good things for our planet.