Path: blob/trunk/rb/lib/selenium/webdriver/firefox.rb
1864 views
# frozen_string_literal: true12# Licensed to the Software Freedom Conservancy (SFC) under one3# or more contributor license agreements. See the NOTICE file4# distributed with this work for additional information5# regarding copyright ownership. The SFC licenses this file6# to you under the Apache License, Version 2.0 (the7# "License"); you may not use this file except in compliance8# with the License. You may obtain a copy of the License at9#10# http://www.apache.org/licenses/LICENSE-2.011#12# Unless required by applicable law or agreed to in writing,13# software distributed under the License is distributed on an14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY15# KIND, either express or implied. See the License for the16# specific language governing permissions and limitations17# under the License.1819require 'timeout'20require 'socket'21require 'rexml/document'2223module Selenium24module WebDriver25module Firefox26autoload :Util, 'selenium/webdriver/firefox/util'27autoload :Extension, 'selenium/webdriver/firefox/extension'28autoload :ProfilesIni, 'selenium/webdriver/firefox/profiles_ini'29autoload :Profile, 'selenium/webdriver/firefox/profile'30autoload :Features, 'selenium/webdriver/firefox/features'31autoload :Driver, 'selenium/webdriver/firefox/driver'32autoload :Options, 'selenium/webdriver/firefox/options'33autoload :Service, 'selenium/webdriver/firefox/service'3435DEFAULT_PORT = 705536DEFAULT_SECURE_SSL = false37DEFAULT_ASSUME_UNTRUSTED_ISSUER = true38DEFAULT_LOAD_NO_FOCUS_LIB = false3940# Mozilla Automation Team asked to only support 8541# until WebDriver Bidi is available.42DEVTOOLS_VERSION = 854344def self.path=(path)45Platform.assert_executable path46@path = path47end4849def self.path50@path ||= nil51end52end # Firefox53end # WebDriver54end # Selenium555657