Running Selenium from Command line and forcing use of a specific profile
26 views
Skip to first unread message
Mark B
unread,
Nov 19, 2024, 9:23:33 AMNov 19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
I am attempting to utilize Selenium to do some simple automated testing of some web applications my team supports and would prefer to do this testing without the implementation of a testing framework as these are very simple tests and most members of the team are not knowledgeable of the languages supported. I see that Selenium tests can be run through the command line (Side-Runner)The issue I am running into is due to the implementation of SSO, an authentication window is thrown during the running of test scripts via Side-Runner. I know that I can force the driver (at least the Chrome driver) to use a specific profile, but that leads me back to having to use a test framework to programmatically force the use of a profile. Is there any way to force Selenium/browser driver to use a specific profile via command line arguments or without having to code it at the browser driver creation level? In my exhaustive search of the internet that Selenium can be passed a "profileTemplate" for Firefox, but that appears to be only related to Selenium RC from what I can tell. Any ideas or even other tools that someone could suggest that could be used with Selenium that would not require coding knowledge that my other team members do not possess would be greatly appreciated.