Skip to content

Instantly share code, notes, and snippets.

@Ashutoshkumargautam
Created September 14, 2020 05:33
Show Gist options
  • Save Ashutoshkumargautam/8c9d53d6b71b069c6930ada9dea6f8a2 to your computer and use it in GitHub Desktop.
Save Ashutoshkumargautam/8c9d53d6b71b069c6930ada9dea6f8a2 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python2
from time import sleep
from selenium import webdriver
driver = webdriver.Firefox(executable_path="C:\Program Files (x86)\geckodriver.exe")
driver.get('https://www.google.com');
sleep(5)
driver.get('https://dhritinet.com/');
sleep(5)
driver.get('https://www.airtel.in/');
sleep(5)
driver.get('https://www.jio.com/welcome');
sleep(5)
driver.close() #Here Bot is trying to close Intire browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment