-
Hello Community, I am not able to run my test cases on a custom chrome user profile using the Seleniumbase. When I run the test cases, it opens the specific chrome profile twice and opens a temporary profile and run tests on temporary profile. I use the following command to run the test cases: Please assist. Further information; Video attached for reference; |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @azfarbkhr, there are a few issues with using your standard Chrome's
The solution is to use a separate folder for your user_data_dir... one that is created by Selenium so that it's not the same as the user_data_dir used by your system's default Chrome browser. Set |
Beta Was this translation helpful? Give feedback.
-
Thanks @mdmintz I simply copied the user data folder to my project directory and used the profile path with user data dir parameter. This executed the cases on my chrome profile and the test cases are executed much more quickly now. Thanks again. |
Beta Was this translation helpful? Give feedback.
Hello @azfarbkhr, there are a few issues with using your standard Chrome's
User Data
dir as the same one for Selenium:The solution is to use a separate folder for your user_data_dir... one that is created by Selenium so that it's not the same as the user_data_dir used by your system's default Chrome browser. Set
--user-data-dir
to a br…