Initial commit - Selenium automation framework
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from selenium import webdriver
|
||||
|
||||
|
||||
def create_chrome_driver():
|
||||
|
||||
options = webdriver.ChromeOptions()
|
||||
options.add_argument("--disable-background-timer-throttling")
|
||||
options.add_argument("--disable-backgrounding-occluded-windows")
|
||||
options.add_argument("--disable-renderer-backgrounding")
|
||||
options.add_argument("--disable-features=CalculateNativeWinOcclusion")
|
||||
options.add_argument("--disable-hang-monitor")
|
||||
options.add_argument("--disable-popup-blocking")
|
||||
|
||||
return webdriver.Chrome(options=options)
|
||||
Reference in New Issue
Block a user