Option "enableVNC" not working with chrome 114 and selenium 4.11.2

34 views
Skip to first unread message

Mohammad Asad Ansari

unread,
Sep 20, 2023, 2:52:37 AM9/20/23
to ChromeDriver Users
Hi All,

I am using selenium and python 3.9.6 to automate the tests on GUI. I have enabled 'enableVNC' option for chrome for viewing virtual machine and its working fine for Selenium 4.1.0 and chrome 114 well.

option.set_capability('enableVNC', "True")

 

But now on upgrading selenium to 4.11.2 this option I am unable to set to True. Current code

webdriver.DesiredCapabilities.CHROME['enableVNC']=True driver = webdriver.Remote(self.hub_url, options=option)

Does someone know how to set it to "True" or is this option changes or deprecated ? 

I tried all the setting the it using add_options, experimental options and set_capabilities but it crashes the code. This time it didnt crashed the code but neither it started the VNC.

Any help is appreciated. Thank you

Reply all
Reply to author
Forward
0 new messages