The sample is for scraping data from Facebook home page. Once you will pass your username and password in variables i have declared in file and execute the code you will get your home page of Facebook.
Let’s start by creating the html file form:
Files are uploaded from the browser using an input tag, with the type parameter set to “file”. This is supported by all browsers currently available on the market.