Freezing error

60 views
Skip to first unread message

Nguyễn Nhân

unread,
Jun 11, 2023, 11:34:03 PM6/11/23
to Selenium Users
I just need your help with a few simple commands with Selenium Python, Google Chrome Portable and Chrome Driver. Hope you can try to help me out (the error here is that it loads the page extremely slowly and almost freezes, I don't know if it's the fault of Selenium, Chrome Portable or Chrome Driver). Here is a simple code with Python and it runs so slow that it freezes.

from selenium import webdriver
from selenium.webdriver.chrome.service import Service

options = webdriver.ChromeOptions()
options.add_argument("--user-data-dir=GoogleChromePortable\Data\profile")
driver = webdriver.Chrome(service=Service('pathtoChromeDriver\chromedriver.exe'),options=options)
driver.get("https://www.google.com/search?q=my+ip")

Johan Lundström

unread,
Jun 14, 2023, 7:22:21 AM6/14/23
to Selenium Users
There is a known issue related to chromedriver on Apple silicon Macs.
https://bugs.chromium.org/p/chromedriver/issues/detail?id=4456

It, however, looks like you are using Windows of some kind so the link above might not be relevant to you.
Perhaps Google Chrome has a regression which we are all experiencing in different ways? (I have, however, not seen any performance problems on the linux x86 box we run our automation on)
Reply all
Reply to author
Forward
0 new messages