Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

incognito in selenium

import time
from selenium import webdriver

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--incognito")

driver = webdriver.Chrome(chrome_options=chrome_options)
driver.maximize_window()
driver.get('https://google.com')
time.sleep(3)
driver.close()
Comment

PREVIOUS NEXT
Code Example
Python :: sort by index 2d array python 
Python :: python download file from url 
Python :: pandas calculate iqr 
Python :: how to import pygame onto python 
Python :: flask minimal app 
Python :: delete rows based on condition python 
Python :: how to capture a single photo with webcam opencv 
Python :: Getting Random rows in dataframe 
Python :: pandas replace column name spaces with underscore 
Python :: get diroctary in python 
Python :: python apply a function to a list inplace 
Python :: python check file extension 
Python :: track phone number location using python 
Python :: set axis limits matplotlib 
Python :: sklearn.utils.bunch to dataframe 
Python :: pyspark date to week number 
Python :: how to find python location in cmd 
Python :: python os make empty file 
Python :: how to check if column has na python 
Python :: how to run python script as admin 
Python :: PackagesNotFoundError: The following packages are not available from current channels: - python==3.6 
Python :: copy image from one folder to another in python 
Python :: python count number of zeros in a column 
Python :: plt.savefig df.plot 
Python :: pip install numpy 
Python :: python datetime remove timezone 
Python :: python change working directory to file directory 
Python :: python get current time in seconds 
Python :: power set python 
Python :: python virtual environment 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =