Where can I find sample or real Selenium projects. All the material I can find on github and on internet are basic, and never intermediate or advanced.
How does a real Selenium project look in real life? How can I find sample code?
The Wikia project has their Selenium tests online, looks like a little bit more then just examples. It contains a Page object factory and hundreds of tests and looks like it is pretty active with multiple commits per day.
I found this when I answered this question: Free/Sample Selenium test suites (code) for Open Source projects
I would expect more open source projects to have their tests online, maybe you need to look better :)
Where can I find sample or real Selenium projects.
You can find selenium sample code and projects at the below mentioned links
Yes, these are the sample codes, which will help you in getting started with Selenium. Other than this there are several good communities, which will help you in starting up with Selenium.
This link offers a very good set of training videos which will help you a lot in learning Selenium along-with real time project.
All the material I can find on github and on internet are basic, and never intermediate or advanced. How does a real Selenium project look in real life?
See, no one is going to post his/her complete real project over a public site to share it with all users, because of multiple reasons (out of which most important is Security) they can't expose the project and all of its scripts.
Other than that, all the sites/forums are for the guidance and they can tell you the best practices and recipe of creating a test project using Selenium or any other tool. In the last it totally depends upon you which suggestion and framework you are going to choose and then based on the selected ingredients you final dish will have its own look. Selection can be based upon Cost, Manpower, ROI, Skillset and Time available for example if you are using Selenium with Java using a Data Driven model then your project will have a different look if you used Keyword based test model.
In addition to it with addition of more and more test cases (Simple, Complex etc.) to your project, it will gain shape of a real world project.
How can I find sample code?
You can always get the sample code from the different sites as mentioned above, for getting you particular problem or road block solved, but unless you start building your tests you will not know the problems you are going to face (as different projects may have its own challenges). You can post your issues on this site too and you will get an answer on how you can move on with your code issue and with due course of time, you will start refining your test cases and project too as per best practices of Selenium/Automation.