No code runs after Chrome Driver is successfuly started
50 views
Skip to first unread message
Corrado Petruzzelli
unread,
Oct 21, 2023, 3:34:13 AM10/21/23
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 trying to set up a chrome driver signed in with a profile because I was hoping to bypass 2FA on certain websites but when I run the program I get no errors and the first selenium command will not execute.Anything afterWebDriver driver = new ChromeDriver(options);doesn't run.
To set it up i did the following;
Open cmd
cd C:\Program Files\Google\Chrome\Application
chrome.exe --remote-debugging-port=9222 --user-data-dir="[Created a folder in the project named ChromeProfile]"
Code (In photo format just because its relatively simple)