You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice work, I tested the app and after debugging some problems it works perfectly well.
The issue is that I really don't use Chrome, so I have just a portable version from portableapps.
To try to make your code work I installed Chrome Beta, but it didn't work.
My guess is that is using the default path for Windows so I changed the folder name from
C:\Program Files\Google\Chrome Beta\Application\chrome.exe
to
C:\Program Files\Google\Chrome\Application\chrome.exe
And now it's working
I tried to make this work with another Chrome Binary but I get lost
for what I was reading must be a Selenium setting but I didn't find the right place to add this
from selenium.webdriver.chrome.options import Options
options = Options()
options.binary_location = "c:\myproject\chromeportable\chrome.exe"
# you may need some other options
#options.add_argument('--no-sandbox')
#options.add_argument('--no-default-browser-check')
#options.add_argument('--no-first-run')
#options.add_argument('--disable-gpu')
#options.add_argument('--disable-extensions')
#options.add_argument('--disable-default-apps')
driver = webdriver.Chrome("c:\myproject\driver\chromedriver.exe",
options=options)
Hi,
Nice work, I tested the app and after debugging some problems it works perfectly well.
The issue is that I really don't use Chrome, so I have just a portable version from portableapps.
To try to make your code work I installed Chrome Beta, but it didn't work.
My guess is that is using the default path for Windows so I changed the folder name from
C:\Program Files\Google\Chrome Beta\Application\chrome.exe
to
C:\Program Files\Google\Chrome\Application\chrome.exe
And now it's working
I tried to make this work with another Chrome Binary but I get lost
for what I was reading must be a Selenium setting but I didn't find the right place to add this
https://stackoverflow.com/questions/49234703/python3-selenium-and-chrome-portable
If you tell me how I can try to add the settings, options and other stuff myself.
Many thanks.
The text was updated successfully, but these errors were encountered: