File tree Expand file tree Collapse file tree
py/selenium/webdriver/safari Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- from typing import Union
18- import warnings
19- from selenium .common .exceptions import InvalidArgumentException
2017from selenium .webdriver .common .desired_capabilities import DesiredCapabilities
21- from selenium .webdriver .common .proxy import Proxy
2218from selenium .webdriver .common .options import ArgOptions
2319
2420
@@ -33,24 +29,23 @@ def to_capabilities(self) -> dict:
3329
3430
3531class Options (ArgOptions ):
36- KEY = "webkit:safariOptions "
32+ KEY = "safari.options "
3733
3834 def __init__ (self ):
3935 super (Options , self ).__init__ ()
4036 self ._binary_location = None
4137 self ._preferences : dict = {}
42- self ._proxy = None
4338 self .log = Log ()
4439
4540 @property
46- def binary_location (self ):
41+ def binary_location (self ) -> str :
4742 """
4843 :Returns: The location of the browser binary otherwise an empty string
4944 """
5045 return self ._binary_location
5146
5247 @binary_location .setter
53- def binary_location (self , value ):
48+ def binary_location (self , value : str ):
5449 """
5550 Allows you to set the browser binary to launch
5651
You can’t perform that action at this time.
0 commit comments