Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:selenium [2025/02/26 12:48] – [Test] darron | tools:selenium [2025/02/26 12:49] (current) – [Test] darron | ||
---|---|---|---|
Line 61: | Line 61: | ||
from selenium import webdriver | from selenium import webdriver | ||
+ | # CHROME | ||
from selenium.webdriver.chrome.options import Options | from selenium.webdriver.chrome.options import Options | ||
+ | # FIREFOX | ||
#from selenium.webdriver.firefox.options import Options | #from selenium.webdriver.firefox.options import Options | ||
- | from time import sleep | + | options = Options() |
- | options = Options() | + | # CHROME |
options.add_argument(" | options.add_argument(" | ||
- | |||
driver = webdriver.Chrome(options=options) | driver = webdriver.Chrome(options=options) | ||
+ | # FIREFOX | ||
# | # | ||
#driver = webdriver.Firefox(options=options) | #driver = webdriver.Firefox(options=options) | ||
Line 80: | Line 81: | ||
</ | </ | ||
- | Incognito | + | CHROME incognito |
about 30 seconds before opening the URL. | about 30 seconds before opening the URL. | ||
===Resources=== | ===Resources=== |