CaptainBeardsEyesBeard Posted October 16, 2023 Posted October 16, 2023 I updated to the chrome 118 via this link https://googlechromelabs.github.io/chrome-for-testing/#stable However it doesn't launch chrome when I run my project. _WD_Option ==> Success [0] : Parameters: Option=Port Value=9515 _WD_Option ==> Success [0] : Parameters: Option=DriverParams Value=--log-path="H:\AutoIT Scripts\iTrent\Framework\chrome.log" _WD_GetFreePort ==> Success [0 / 9515] : Parameters: MinPort=9515 MaxPort=Default _WD_IsLatestRelease ==> Success [0] : True _WD_Startup: OS: WIN_10 X64 19045 _WD_Startup: AutoIt: 3.3.14.4 _WD_Startup: Webdriver UDF: 1.2.0 (Up to date) _WD_Startup: WinHTTP: 1.6.4.2 _WD_Startup: Driver: chromedriver.exe (32 Bit) _WD_Startup: Params: --log-path="H:\AutoIT Scripts\iTrent\Framework\chrome.log" _WD_Startup: Port: 9515 _WD_Startup: Command: "chromedriver.exe" --log-path="H:\AutoIT Scripts\iTrent\Framework\chrome.log" _WD_Startup ==> Success [0] __WD_Post ==> Webdriver Exception [10] : HTTP status = 500 _WD_CreateSession ==> Webdriver Exception [10]
aRandomGuy Posted October 16, 2023 Posted October 16, 2023 i face same problem in the past, as i remember, the problem in with Default profile directory, you can make new profile directory and check again
Danp2 Posted October 16, 2023 Posted October 16, 2023 Have you reviewed chrome.log for clues? My guess would be that it can't locate the browser. You could try switching to the x64 version of chromedriver to see if the behavior changes. Also, see FAQ #4 in the wiki. Latest Webdriver UDF Release Webdriver Wiki FAQs
CaptainBeardsEyesBeard Posted October 18, 2023 Author Posted October 18, 2023 I did review the log and tried deleting my temp file location. In the end I download another Chrome version and pointed the $DesiredCapabilities at the exe like below Func SetupChrome() _WD_Option('Driver', 'chromedriver.exe') _WD_Option('Port', 9515) _WD_Option('DriverParams', '--log-path="' & @ScriptDir & '\chrome.log"') ; original $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"goog:chromeOptions": {"w3c": true }}}}' $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"goog:chromeOptions": {"w3c": true, "binary":"C:\\Disk\\Chrome119\\chrome.exe" }}}}' EndFunc
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now