After update Google Chrome to v96 selenium tests works slower then expected.
UPD: same problem with v97.
I have simple check (options.headless = True):
chrome_args = [
'window-size=1920,1080',
'disable-infobars',
'disable-local-storage',
'disable-notifications',
'incognito',
'no-sandbox',
'disable-dev-shm-usage',
'incognito',
'kiosk'
]
- Open URL
- Get element by XPATHS
- Save screenshot
Results, in sec. (v95 / v96):
- OPEN URL: 4.816 / 7.864
- OPEN URL: 4.934 / 7.617
- OPEN URL: 4.878 / 7.730
- FIND ELEMENT BY XPATH: 1.794 / 2.921
- FIND ELEMENT BY XPATH: 1.663 / 3.135
- FIND ELEMENT BY XPATH: 1.496 / 2.889
- SAVE SCREENSHOT: 3.886 / 9.070
- SAVE SCREENSHOT: 2.704 / 6.861
- SAVE SCREENSHOT: 3.393 / 8.655
Does anyone have a similar problem?