I'm trying to create a script that :
- Open Browser -> Go to a website (logging page) -> Auto Logging (filling up email and password details from csv file ) -> Close Tab -> Re open again the website -> Re Auto logging but with the second account (filling up details from csv file SECOND ROW ) .
... Re do the same tasks 50 times (From account 1 to 50 for example)
import pandas as pd
from selenium import webdriver
//Open Browser and go to facebook logging page
browser = webdriver.Chrome(r'C:\Users\Hamza\Desktop\Python\chromedriver')
browser.get('https://facebook.com')
//Import csv file
data = pd.read_excel (r'C:\Users\Hamza\Desktop\testcsv.xlsx')