
First and foremost thing. we need to download selenium library and chrome driver. Please follow the instructions and do it. If you will find any problems please let me know though it is a simple process. File is available in next lecture. Pls download from there.
After downloading the necessary packages , now we like to launch a website on chrome browser. After few lecures I will educate you about other browsers too like edge or firefox.
Know the name attribute in html and how we can use it in selenium.
How to work with hyperlinks on web pages. This is done by web developers using A tag with href as their attribute. Let us see how we can click on any link using collection loops and by knowing its indexes.
Let us understand the Table structure first in HTML
How to loop through each and every table on a web page and export the table data in excel.
We are taking the inputs from user for country names and same is getting scraped from website. This is super example not only from website scraping perspective but also you will find the smart and advance way of using the loops.
What if you do not want to see every detail in a row of a table. How to hit the right td tag ignoring others.
This is not just a conceptual thing but its a very practical situation and you can be ready for it in advance.
How to scrape one particular table when you have 100s tables on a web page. Quite possible. Isnt it?
So, let us see how we can reach to the table we want to scrape and not others and not only this inside that table we can further target specific rows and data.
This one came from your side . Can we scrape the page from bottom to Top.
Please use this file for all rest Xpath chapters.
Xpath is one of my favorite, It can scrape anything and very useful and easy to learn.
Let us see how to obtain xpath from any element and let us understand the path as to how it is written.
Xpath can also help us in exporting the website tables. See this in this lecture
We now know very well that how xpath syntax is formed so why dont we go ahead and edit it to get different results.
Idea is you should know that you can edit the xpath and get different outputs.
How to scrape h1,h2,h3 etc tags .
How to scrape them in one go by using Xpath. Its awesome.
We often see websites which bullet points or serial numbers and paragraphs are written. In this lecture we are learning to export the comments or those paragraphs using li tags. Li means list tag.
How to work with unordered list tags and ordered list tags.
Please note: Excel file attached here will be used for next list related lectures too. So, please follow the same till part4
How to avoid running A TAG loops and directly click on any link by knowing its word only
We can click on web links even by finding the partial word instead of exact word. This is amazing knowledge to learn.
This one very simple. How to select an item from a combobox or drop down using text, index and value methods.
How to select listbox values using select element class and why it cannot be webelement class.
Little introduction on methods and property of a class.
If you like to learn Basic to super Advance excel , Excel VBA, Bi or PowerPivot or PowerQuery or M code or MS Access and its VBA ,these links will help you a lot. My every course will teach you from very basics and it will have tons of practical examples.
In this Part1 you shall learn below written things. Please go through them.
We are going to learn Webscraping using google chrome and it will be done using selenium library.
Learn how to download selenium and browser drivers to first initially do the setup.
How work with attributes like name, id using findelement methods.
How to work with tags like A tag and its attribute href to click on the links.
How to use class attribute and is it a good approach to use class attribute.
how to work with Xpath to insert the data into textboxes and click on search buttons. Not just use but understand the structure of Xpath as well.
Learn how we can change the xpath elements by their indexes.
How to work with header tags like h1 or h2 or h3 using normal way and using xpath.
How to run the collection loops and why we need it and when we can avoid using collection loops.
What is difference between Web-element and Webelements and why we use set word for collection elements and not for single object.
How to click on links on webpage using link -text and partial link text property. Based on this knowledge one mini project -how to load website by default on current date.
How to scrape tables and its rows and rows data values and table headers.
Collection loops design and execution from very start while working with tables.
Do you like to export all tables in a website or do you want to scrape one specific table only, How to reach out to specific index of a table then.
How to scrape specific rows inside one specific table . Know your "tr' tags.
How to scrape all data insider rows or just one specific data value using td tag. Its awesome when you have so much control.
How to export tables with out running collection loops and what is the difference between direct export and export using loops. You must know.
How to work with li tags inside unordered and ordered lists.
Know how to insert a value in drop down or combo-boxes .
How to select items in list box with single select property or multi select property.
Learn to select or de-select listbox options using collection loops or without the loops.
How to alter the collection elements by referring to one object and second inside the first one and so on.