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 create a python script utilizing ChromeDriver which opens a new message in gmail and then autofills the to and subject fields. However I am having problem without even getting to the last part. I tried to follow the latest options information on selenium page but even though the options to me look like they match it does not work. The options are not applied on the opening page at all. I want it to be maximized and to use my user data so I don't need to login but it just does not. My chrome is 125.0.6422.142 and so is my ChromeDriver. My selenium is 4.21.0 and my python is 3.12
fromseleniumimportwebdriver
defopen_chrome():
options=webdriver.ChromeOptions()
options.add_argument("--start-maximized")
options.add_argument("--user-data-dir=Current user data dir")