As I am new to Robot Framework, I have created a new basic robot framework in Visual Studio Macbook Air MACOS Monterey 12.7.6. I have downloaded the chromedriver version and set the path variable. I have chromedriver executable in path /usr/local/bin/chromedriver. and i can see chromedriver version by running chromedriver --version command. But when I run the test, Eventually Browser launch and instantly shut down. I am getting below errors:
InvalidArgumentException: Message: invalid argument
(Session info: chrome=129.0.6668.101)
Stacktrace:
0 chromedriver 0x000000010e7cfcd8 chromedriver + 4996312
1 chromedriver 0x000000010e7c759a chromedriver + 4961690
2 chromedriver 0x000000010e36ab5d chromedriver + 387933
3 chromedriver 0x000000010e352dc0 chromedriver + 290240
4 chromedriver 0x000000010e3516af chromedriver + 284335
5 chromedriver 0x000000010e351d3a chromedriver + 286010
6 chromedriver 0x000000010e36d6b1 chromedriver + 399025
7 chromedriver 0x000000010e3fa545 chromedriver + 976197
8 chromedriver 0x000000010e3db9b2 chromedriver + 850354
9 chromedriver 0x000000010e3f9a00 chromedriver + 973312
10 chromedriver 0x000000010e3db753 chromedriver + 849747
11 chromedriver 0x000000010e3aa635 chromedriver + 648757
12 chromedriver 0x000000010e3aae5e chromedriver + 650846
13 chromedriver 0x000000010e795fc0 chromedriver + 4759488
14 chromedriver 0x000000010e79aed8 chromedriver + 4779736
15 chromedriver 0x000000010e79b5a5 chromedriver + 4781477
16 chromedriver 0x000000010e778a69 chromedriver + 4639337
17 chromedriver 0x000000010e79b899 chromedriver + 4782233
18 chromedriver 0x000000010e76a004 chromedriver + 4579332
19 chromedriver 0x000000010e7b79c8 chromedriver + 4897224
20 chromedriver 0x000000010e7b7bc3 chromedriver + 4897731
21 chromedriver 0x000000010e7c719e chromedriver + 4960670
22 libsystem_pthread.dylib 0x00007ff8031d54e1 _pthread_start + 125
23 libsystem_pthread.dylib 0x00007ff8031d0f6b thread_start + 15
My Scripts are:
login_tests.robot
*** Settings ***
Library SeleniumLibrary
Resource …/resources/keywords.robot
Test Teardown Close Browser
*** Variables ***
${URL} The Internet
${BROWSER} Chrome
*** Test Cases ***
Login with Valid Credentials
[Documentation] Testing login with valid Credentials
Open Browser {URL} ${BROWSER}
Maximize Browser Window
Input Username tomsmith
Input Login Password SuperSecretPassword!
Click Login Button
Validate Login Successfull
keywords.robot
*** Settings ***
Library SeleniumLibrary
*** Keywords ***
Open Browser To Login Page
Open Browser ${URL} ${BROWSER}
Input Username
[Arguments] ${username}
Input Text id=username ${username}
Input Login Password
[Arguments] ${password}
Input Text id= ${password}
Click Login Button
Click Button class=radius
Validate Login Successfull
Page Should Contain You logged into a secure area!
Validate Login Failed
Page Should Contain Your password is invalid!
Can someone help me to resolve this issue. I have checked everything. My browser version is 129.0.6668.101 (Official Build) (x86_64)