Module: Selenium

Defined in:
lib/selenium/client/base.rb,
lib/selenium/client.rb,
lib/selenium/server.rb,
lib/selenium/webdriver.rb,
lib/selenium/webdriver/ie.rb,
lib/selenium/client/driver.rb,
lib/selenium/client/errors.rb,
lib/selenium/webdriver/edge.rb,
lib/selenium/client/protocol.rb,
lib/selenium/client/idiomatic.rb,
lib/selenium/rake/server_task.rb,
lib/selenium/webdriver/chrome.rb,
lib/selenium/webdriver/iphone.rb,
lib/selenium/webdriver/remote.rb,
lib/selenium/webdriver/safari.rb,
lib/selenium/client/extensions.rb,
lib/selenium/webdriver/android.rb,
lib/selenium/webdriver/firefox.rb,
lib/selenium/webdriver/ie/bridge.rb,
lib/selenium/webdriver/ie/server.rb,
lib/selenium/webdriver/phantomjs.rb,
lib/selenium/client/legacy_driver.rb,
lib/selenium/webdriver/common/keys.rb,
lib/selenium/webdriver/common/logs.rb,
lib/selenium/webdriver/common/wait.rb,
lib/selenium/webdriver/edge/bridge.rb,
lib/selenium/client/selenium_helper.rb,
lib/selenium/webdriver/common/alert.rb,
lib/selenium/webdriver/common/error.rb,
lib/selenium/webdriver/common/mouse.rb,
lib/selenium/webdriver/common/proxy.rb,
lib/selenium/webdriver/edge/service.rb,
lib/selenium/webdriver/firefox/util.rb,
lib/selenium/webdriver/chrome/bridge.rb,
lib/selenium/webdriver/common/driver.rb,
lib/selenium/webdriver/common/window.rb,
lib/selenium/webdriver/common/zipper.rb,
lib/selenium/webdriver/iphone/bridge.rb,
lib/selenium/webdriver/remote/bridge.rb,
lib/selenium/webdriver/safari/bridge.rb,
lib/selenium/webdriver/safari/server.rb,
lib/selenium/webdriver/support/color.rb,
lib/selenium/webdriver/android/bridge.rb,
lib/selenium/webdriver/chrome/profile.rb,
lib/selenium/webdriver/chrome/service.rb,
lib/selenium/webdriver/common/element.rb,
lib/selenium/webdriver/common/options.rb,
lib/selenium/webdriver/firefox/binary.rb,
lib/selenium/webdriver/firefox/bridge.rb,
lib/selenium/webdriver/safari/browser.rb,
lib/selenium/webdriver/safari/options.rb,
lib/selenium/webdriver/support/select.rb,
lib/selenium/webdriver/common/keyboard.rb,
lib/selenium/webdriver/common/platform.rb,
lib/selenium/webdriver/common/timeouts.rb,
lib/selenium/webdriver/firefox/profile.rb,
lib/selenium/webdriver/remote/response.rb,
lib/selenium/webdriver/common/log_entry.rb,
lib/selenium/webdriver/firefox/launcher.rb,
lib/selenium/webdriver/phantomjs/bridge.rb,
lib/selenium/webdriver/remote/http/curb.rb,
lib/selenium/webdriver/common/navigation.rb,
lib/selenium/webdriver/firefox/extension.rb,
lib/selenium/webdriver/phantomjs/service.rb,
lib/selenium/webdriver/common/file_reaper.rb,
lib/selenium/webdriver/common/json_helper.rb,
lib/selenium/webdriver/common/port_prober.rb,
lib/selenium/webdriver/common/socket_lock.rb,
lib/selenium/webdriver/remote/http/common.rb,
lib/selenium/webdriver/common/touch_screen.rb,
lib/selenium/webdriver/remote/capabilities.rb,
lib/selenium/webdriver/remote/http/default.rb,
lib/selenium/webdriver/remote/server_error.rb,
lib/selenium/webdriver/common/bridge_helper.rb,
lib/selenium/webdriver/common/socket_poller.rb,
lib/selenium/webdriver/firefox/profiles_ini.rb,
lib/selenium/webdriver/common/action_builder.rb,
lib/selenium/webdriver/common/profile_helper.rb,
lib/selenium/webdriver/common/search_context.rb,
lib/selenium/webdriver/common/target_locator.rb,
lib/selenium/webdriver/remote/http/persistent.rb,
lib/selenium/client/javascript_frameworks/jquery.rb,
lib/selenium/client/javascript_expression_builder.rb,
lib/selenium/webdriver/common/html5/local_storage.rb,
lib/selenium/webdriver/common/touch_action_builder.rb,
lib/selenium/webdriver/support/event_firing_bridge.rb,
lib/selenium/client/javascript_frameworks/prototype.rb,
lib/selenium/webdriver/common/html5/session_storage.rb,
lib/selenium/webdriver/support/block_event_listener.rb,
lib/selenium/webdriver/common/html5/shared_web_storage.rb,
lib/selenium/webdriver/support/abstract_event_listener.rb,
lib/selenium/webdriver/common/driver_extensions/rotatable.rb,
lib/selenium/webdriver/common/driver_extensions/has_location.rb,
lib/selenium/webdriver/common/driver_extensions/uploads_files.rb,
lib/selenium/webdriver/common/driver_extensions/has_session_id.rb,
lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb,
lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb,
lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb,
lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb,
lib/selenium/webdriver/common/driver_extensions/has_remote_status.rb,
lib/selenium/webdriver/common/driver_extensions/has_network_connection.rb

Overview

Licensed to the Software Freedom Conservancy (SFC) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The SFC licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defined Under Namespace

Modules: Client, Rake, WebDriver Classes: Server

Constant Summary collapse

DEPRECATED_CONSTANTS =
{
  :SeleniumDriver => Selenium::Client::Driver,
  :CommandError   => Selenium::Client::CommandError
}

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



47
48
49
50
51
52
53
54
# File 'lib/selenium/client.rb', line 47

def self.const_missing(name)
  if replacement = DEPRECATED_CONSTANTS[name.to_sym]
    warn "the Selenium::#{name} constant has been deprecated, please use #{replacement} instead"
    replacement
  else
    super
  end
end