“Incognito Selenium” Kode Jawaban

Incognito 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()
Talal Siddiqui

Selenium Incognito Chrome

from selenium import webdriver

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

driver = webdriver.Chrome(chrome_options=chrome_options)
driver.get('https://google.com')
Black Boar

Jawaban yang mirip dengan “Incognito Selenium”

Pertanyaan yang mirip dengan “Incognito Selenium”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya