[py] fix Opera Driver
@@ -87,7 +87,7 @@ class Options(ChromeOptions):
"""
capabilities = ChromeOptions.to_capabilities(self)
capabilities.update(DesiredCapabilities.OPERA)
- opera_options = capabilities[self.KEY] = capabilities.pop(ChromeOptions.KEY, None)
+ opera_options = capabilities[self.KEY]
if self.android_package_name:
opera_options["androidPackage"] = self.android_package_name
