Best Selenium code snippet using Selenium.WebDriver.Remote.keyboard
selenium-webdriver@3.142.7.rbi
Source:selenium-webdriver@3.142.7.rbi
...10 def root; end11 end12end13class Selenium::WebDriver::ActionBuilder14 def initialize(mouse, keyboard); end15 def click(element = T.unsafe(nil)); end16 def click_and_hold(element = T.unsafe(nil)); end17 def context_click(element = T.unsafe(nil)); end18 def double_click(element = T.unsafe(nil)); end19 def drag_and_drop(source, target); end20 def drag_and_drop_by(source, right_by, down_by); end21 def key_down(*args); end22 def key_up(*args); end23 def move_by(right_by, down_by); end24 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil)); end25 def perform; end26 def release(element = T.unsafe(nil)); end27 def send_keys(*args); end28end29class Selenium::WebDriver::Alert30 def initialize(bridge); end31 def accept; end32 def dismiss; end33 def send_keys(keys); end34 def text; end35end36module Selenium::WebDriver::Atoms37 private38 def execute_atom(function_name, *arguments); end39 def read_atom(function); end40end41module Selenium::WebDriver::BridgeHelper42 def element_id_from(id); end43 def parse_cookie_string(str); end44 def unwrap_script_result(arg); end45end46module Selenium::WebDriver::Chrome47 class << self48 def driver_path; end49 def driver_path=(path); end50 def path; end51 def path=(path); end52 end53end54module Selenium::WebDriver::Chrome::Bridge55 def available_log_types; end56 def commands(command); end57 def log(type); end58 def network_conditions; end59 def network_conditions=(conditions); end60 def send_command(command_params); end61end62Selenium::WebDriver::Chrome::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)63class Selenium::WebDriver::Chrome::Driver < ::Selenium::WebDriver::Driver64 include ::Selenium::WebDriver::DriverExtensions::HasNetworkConditions65 include ::Selenium::WebDriver::DriverExtensions::HasTouchScreen66 include ::Selenium::WebDriver::DriverExtensions::HasWebStorage67 include ::Selenium::WebDriver::DriverExtensions::HasLocation68 include ::Selenium::WebDriver::DriverExtensions::TakesScreenshot69 include ::Selenium::WebDriver::DriverExtensions::DownloadsFiles70 def initialize(opts = T.unsafe(nil)); end71 def browser; end72 def execute_cdp(cmd, **params); end73 def quit; end74 private75 def create_capabilities(opts); end76end77class Selenium::WebDriver::Chrome::Options < ::Selenium::WebDriver::Common::Options78 def initialize(**opts); end79 def add_argument(arg); end80 def add_emulation(device_name: T.unsafe(nil), device_metrics: T.unsafe(nil), user_agent: T.unsafe(nil)); end81 def add_encoded_extension(encoded); end82 def add_extension(path); end83 def add_option(name, value); end84 def add_preference(name, value); end85 def args; end86 def as_json(*_arg0); end87 def binary; end88 def binary=(_arg0); end89 def detach; end90 def detach=(_arg0); end91 def emulation; end92 def encoded_extensions; end93 def extensions; end94 def headless!; end95 def options; end96 def prefs; end97 def profile; end98 def profile=(_arg0); end99end100Selenium::WebDriver::Chrome::Options::KEY = T.let(T.unsafe(nil), String)101class Selenium::WebDriver::Chrome::Profile102 include ::Selenium::WebDriver::ProfileHelper103 extend ::Selenium::WebDriver::ProfileHelper::ClassMethods104 def initialize(model = T.unsafe(nil)); end105 def [](key); end106 def []=(key, value); end107 def add_encoded_extension(encoded); end108 def add_extension(path); end109 def as_json(*_arg0); end110 def directory; end111 def layout_on_disk; end112 private113 def prefs; end114 def prefs_file_for(dir); end115 def read_model_prefs; end116 def write_prefs_to(dir); end117end118class Selenium::WebDriver::Chrome::Service < ::Selenium::WebDriver::Service119 private120 def extract_service_args(driver_opts); end121 class << self122 def driver_path=(path); end123 end124end125module Selenium::WebDriver::Common; end126class Selenium::WebDriver::Common::Options127 private128 def camel_case(str); end129 def convert_json_key(key); end130 def generate_as_json(value); end131end132class Selenium::WebDriver::Dimension < ::Struct133 def height; end134 def height=(_); end135 def width; end136 def width=(_); end137 class << self138 def [](*_arg0); end139 def inspect; end140 def members; end141 def new(*_arg0); end142 end143end144class Selenium::WebDriver::Driver145 include ::Selenium::WebDriver::SearchContext146 def initialize(bridge, listener: T.unsafe(nil)); end147 def [](sel); end148 def action; end149 def all(*args); end150 def browser; end151 def capabilities; end152 def close; end153 def current_url; end154 def execute_async_script(script, *args); end155 def execute_script(script, *args); end156 def first(*args); end157 def get(url); end158 def inspect; end159 def keyboard; end160 def manage; end161 def mouse; end162 def navigate; end163 def page_source; end164 def quit; end165 def ref; end166 def script(script, *args); end167 def switch_to; end168 def title; end169 def window_handle; end170 def window_handles; end171 private172 def bridge; end173 def service_url(opts); end174 class << self175 def for(browser, opts = T.unsafe(nil)); end176 end177end178module Selenium::WebDriver::DriverExtensions; end179module Selenium::WebDriver::DriverExtensions::DownloadsFiles180 def download_path=(path); end181end182module Selenium::WebDriver::DriverExtensions::HasAddons183 def install_addon(path, temporary = T.unsafe(nil)); end184 def uninstall_addon(id); end185end186module Selenium::WebDriver::DriverExtensions::HasDebugger187 def attach_debugger; end188end189module Selenium::WebDriver::DriverExtensions::HasLocation190 def location; end191 def location=(loc); end192 def set_location(lat, lon, alt); end193end194module Selenium::WebDriver::DriverExtensions::HasNetworkConditions195 def network_conditions; end196 def network_conditions=(conditions); end197end198module Selenium::WebDriver::DriverExtensions::HasNetworkConnection199 def network_connection_type; end200 def network_connection_type=(connection_type); end201 private202 def type_to_values; end203 def valid_type?(type); end204 def values_to_type; end205end206module Selenium::WebDriver::DriverExtensions::HasPermissions207 def permissions; end208 def permissions=(permissions); end209end210module Selenium::WebDriver::DriverExtensions::HasRemoteStatus211 def remote_status; end212end213module Selenium::WebDriver::DriverExtensions::HasSessionId214 def session_id; end215end216module Selenium::WebDriver::DriverExtensions::HasTouchScreen217 def touch; end218 private219 def touch_screen; end220end221module Selenium::WebDriver::DriverExtensions::HasWebStorage222 def local_storage; end223 def session_storage; end224end225module Selenium::WebDriver::DriverExtensions::Rotatable226 def orientation; end227 def rotate(orientation); end228 def rotation=(orientation); end229end230Selenium::WebDriver::DriverExtensions::Rotatable::ORIENTATIONS = T.let(T.unsafe(nil), Array)231module Selenium::WebDriver::DriverExtensions::TakesScreenshot232 def save_screenshot(png_path); end233 def screenshot_as(format); end234end235module Selenium::WebDriver::DriverExtensions::UploadsFiles236 def file_detector=(detector); end237end238module Selenium::WebDriver::Edge239 class << self240 def driver_path; end241 def driver_path=(path); end242 end243end244module Selenium::WebDriver::Edge::Bridge245 def commands(command); end246 def maximize_window(handle = T.unsafe(nil)); end247 def reposition_window(x, y, handle = T.unsafe(nil)); end248 def resize_window(width, height, handle = T.unsafe(nil)); end249 def send_keys_to_active_element(key); end250 def window_handle; end251 def window_position(handle = T.unsafe(nil)); end252 def window_size(handle = T.unsafe(nil)); end253end254class Selenium::WebDriver::Edge::Driver < ::Selenium::WebDriver::Driver255 include ::Selenium::WebDriver::DriverExtensions::TakesScreenshot256 def initialize(opts = T.unsafe(nil)); end257 def browser; end258 def quit; end259end260class Selenium::WebDriver::Edge::Options261 def initialize(**opts); end262 def add_extension_path(path); end263 def as_json(*_arg0); end264 def extension_paths; end265 def in_private; end266 def in_private=(_arg0); end267 def start_page; end268 def start_page=(_arg0); end269end270class Selenium::WebDriver::Edge::Service < ::Selenium::WebDriver::Service271 private272 def extract_service_args(driver_opts); end273end274class Selenium::WebDriver::Element275 include ::Selenium::WebDriver::SearchContext276 def initialize(bridge, id); end277 def ==(other); end278 def [](name); end279 def all(*args); end280 def as_json(*_arg0); end281 def attribute(name); end282 def clear; end283 def click; end284 def css_value(prop); end285 def displayed?; end286 def enabled?; end287 def eql?(other); end288 def first(*args); end289 def hash; end290 def inspect; end291 def location; end292 def location_once_scrolled_into_view; end293 def property(name); end294 def rect; end295 def ref; end296 def selected?; end297 def send_key(*args); end298 def send_keys(*args); end299 def size; end300 def style(prop); end301 def submit; end302 def tag_name; end303 def text; end304 def to_json(*_arg0); end305 private306 def bridge; end307 def selectable?; end308end309module Selenium::WebDriver::Error310 class << self311 def const_missing(const_name); end312 def for_code(code); end313 end314end315Selenium::WebDriver::Error::DEPRECATED_ERRORS = T.let(T.unsafe(nil), Hash)316Selenium::WebDriver::Error::ERRORS = T.let(T.unsafe(nil), Hash)317class Selenium::WebDriver::Error::ElementClickInterceptedError < ::Selenium::WebDriver::Error::WebDriverError; end318Selenium::WebDriver::Error::ElementNotDisplayedError = Selenium::WebDriver::Error::ElementNotInteractableError319class Selenium::WebDriver::Error::ElementNotInteractableError < ::Selenium::WebDriver::Error::WebDriverError; end320Selenium::WebDriver::Error::ElementNotSelectableError = Selenium::WebDriver::Error::ElementNotInteractableError321Selenium::WebDriver::Error::ElementNotVisibleError = Selenium::WebDriver::Error::ElementNotInteractableError322Selenium::WebDriver::Error::ExpectedError = Selenium::WebDriver::Error::WebDriverError323Selenium::WebDriver::Error::IMEEngineActivationFailedError = Selenium::WebDriver::Error::WebDriverError324Selenium::WebDriver::Error::IMENotAvailableError = Selenium::WebDriver::Error::WebDriverError325Selenium::WebDriver::Error::IndexOutOfBoundsError = Selenium::WebDriver::Error::WebDriverError326class Selenium::WebDriver::Error::InsecureCertificateError < ::Selenium::WebDriver::Error::WebDriverError; end327class Selenium::WebDriver::Error::InvalidArgumentError < ::Selenium::WebDriver::Error::WebDriverError; end328class Selenium::WebDriver::Error::InvalidCookieDomainError < ::Selenium::WebDriver::Error::WebDriverError; end329Selenium::WebDriver::Error::InvalidElementCoordinatesError = Selenium::WebDriver::Error::WebDriverError330Selenium::WebDriver::Error::InvalidElementStateError = Selenium::WebDriver::Error::ElementNotInteractableError331class Selenium::WebDriver::Error::InvalidSelectorError < ::Selenium::WebDriver::Error::WebDriverError; end332class Selenium::WebDriver::Error::InvalidSessionIdError < ::Selenium::WebDriver::Error::WebDriverError; end333Selenium::WebDriver::Error::InvalidXpathSelectorError = Selenium::WebDriver::Error::InvalidSelectorError334Selenium::WebDriver::Error::InvalidXpathSelectorReturnTyperError = Selenium::WebDriver::Error::InvalidSelectorError335class Selenium::WebDriver::Error::JavascriptError < ::Selenium::WebDriver::Error::WebDriverError; end336class Selenium::WebDriver::Error::MoveTargetOutOfBoundsError < ::Selenium::WebDriver::Error::WebDriverError; end337Selenium::WebDriver::Error::NoAlertOpenError = Selenium::WebDriver::Error::NoSuchAlertError338Selenium::WebDriver::Error::NoAlertPresentError = Selenium::WebDriver::Error::NoSuchAlertError339Selenium::WebDriver::Error::NoCollectionError = Selenium::WebDriver::Error::WebDriverError340Selenium::WebDriver::Error::NoScriptResultError = Selenium::WebDriver::Error::WebDriverError341Selenium::WebDriver::Error::NoStringError = Selenium::WebDriver::Error::WebDriverError342Selenium::WebDriver::Error::NoStringLengthError = Selenium::WebDriver::Error::WebDriverError343Selenium::WebDriver::Error::NoStringWrapperError = Selenium::WebDriver::Error::WebDriverError344class Selenium::WebDriver::Error::NoSuchAlertError < ::Selenium::WebDriver::Error::WebDriverError; end345Selenium::WebDriver::Error::NoSuchCollectionError = Selenium::WebDriver::Error::WebDriverError346class Selenium::WebDriver::Error::NoSuchCookieError < ::Selenium::WebDriver::Error::WebDriverError; end347Selenium::WebDriver::Error::NoSuchDocumentError = Selenium::WebDriver::Error::WebDriverError348Selenium::WebDriver::Error::NoSuchDriverError = Selenium::WebDriver::Error::WebDriverError349class Selenium::WebDriver::Error::NoSuchElementError < ::Selenium::WebDriver::Error::WebDriverError; end350class Selenium::WebDriver::Error::NoSuchFrameError < ::Selenium::WebDriver::Error::WebDriverError; end351class Selenium::WebDriver::Error::NoSuchWindowError < ::Selenium::WebDriver::Error::WebDriverError; end352class Selenium::WebDriver::Error::NullPointerError < ::Selenium::WebDriver::Error::WebDriverError; end353Selenium::WebDriver::Error::ObsoleteElementError = Selenium::WebDriver::Error::StaleElementReferenceError354Selenium::WebDriver::Error::ScriptTimeOutError = Selenium::WebDriver::Error::ScriptTimeoutError355class Selenium::WebDriver::Error::ScriptTimeoutError < ::Selenium::WebDriver::Error::WebDriverError; end356class Selenium::WebDriver::Error::ServerError < ::StandardError357 def initialize(response); end358end359class Selenium::WebDriver::Error::SessionNotCreatedError < ::Selenium::WebDriver::Error::WebDriverError; end360class Selenium::WebDriver::Error::StaleElementReferenceError < ::Selenium::WebDriver::Error::WebDriverError; end361Selenium::WebDriver::Error::TimeOutError = Selenium::WebDriver::Error::TimeoutError362class Selenium::WebDriver::Error::TimeoutError < ::Selenium::WebDriver::Error::WebDriverError; end363class Selenium::WebDriver::Error::UnableToCaptureScreenError < ::Selenium::WebDriver::Error::WebDriverError; end364class Selenium::WebDriver::Error::UnableToSetCookieError < ::Selenium::WebDriver::Error::WebDriverError; end365class Selenium::WebDriver::Error::UnexpectedAlertOpenError < ::Selenium::WebDriver::Error::WebDriverError; end366Selenium::WebDriver::Error::UnexpectedJavascriptError = Selenium::WebDriver::Error::JavascriptError367Selenium::WebDriver::Error::UnhandledAlertError = Selenium::WebDriver::Error::UnexpectedAlertOpenError368Selenium::WebDriver::Error::UnhandledError = Selenium::WebDriver::Error::UnknownError369class Selenium::WebDriver::Error::UnknownCommandError < ::Selenium::WebDriver::Error::WebDriverError; end370class Selenium::WebDriver::Error::UnknownError < ::Selenium::WebDriver::Error::WebDriverError; end371class Selenium::WebDriver::Error::UnknownMethodError < ::Selenium::WebDriver::Error::WebDriverError; end372class Selenium::WebDriver::Error::UnsupportedOperationError < ::Selenium::WebDriver::Error::WebDriverError; end373class Selenium::WebDriver::Error::WebDriverError < ::StandardError; end374Selenium::WebDriver::Error::XPathLookupError = Selenium::WebDriver::Error::InvalidSelectorError375module Selenium::WebDriver::FileReaper376 class << self377 def <<(file); end378 def reap(file); end379 def reap!; end380 def reap=(_arg0); end381 def reap?; end382 def tmp_files; end383 end384end385module Selenium::WebDriver::Firefox386 class << self387 def driver_path; end388 def driver_path=(path); end389 def path=(path); end390 end391end392class Selenium::WebDriver::Firefox::Binary393 def quit; end394 def start_with(profile, profile_path, *args); end395 def wait; end396 private397 def execute(*extra_args); end398 def modify_link_library_path(profile_path); end399 class << self400 def path; end401 def path=(path); end402 def reset_path!; end403 def version; end404 private405 def macosx_path; end406 def windows_path; end407 def windows_registry_path; end408 end409end410Selenium::WebDriver::Firefox::Binary::NO_FOCUS_LIBRARIES = T.let(T.unsafe(nil), Array)411Selenium::WebDriver::Firefox::Binary::NO_FOCUS_LIBRARY_NAME = T.let(T.unsafe(nil), String)412Selenium::WebDriver::Firefox::Binary::QUIT_TIMEOUT = T.let(T.unsafe(nil), Integer)413Selenium::WebDriver::Firefox::Binary::WAIT_TIMEOUT = T.let(T.unsafe(nil), Integer)414Selenium::WebDriver::Firefox::DEFAULT_ASSUME_UNTRUSTED_ISSUER = T.let(T.unsafe(nil), TrueClass)415Selenium::WebDriver::Firefox::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)416module Selenium::WebDriver::Firefox::Driver417 class << self418 def new(**opts); end419 private420 def marionette?(opts); end421 end422end423class Selenium::WebDriver::Firefox::Extension424 def initialize(path); end425 def write_to(extensions_dir); end426 private427 def create_root; end428 def read_id(directory); end429 def read_id_from_install_rdf(directory); end430 def read_id_from_manifest_json(directory); end431end432Selenium::WebDriver::Firefox::Extension::NAMESPACE = T.let(T.unsafe(nil), String)433class Selenium::WebDriver::Firefox::Launcher434 def initialize(binary, port, profile = T.unsafe(nil)); end435 def assert_profile; end436 def connect_until_stable; end437 def create_profile; end438 def fetch_profile; end439 def find_free_port; end440 def launch; end441 def quit; end442 def socket_lock; end443 def start; end444 def url; end445end446Selenium::WebDriver::Firefox::Launcher::SOCKET_LOCK_TIMEOUT = T.let(T.unsafe(nil), Integer)447Selenium::WebDriver::Firefox::Launcher::STABLE_CONNECTION_TIMEOUT = T.let(T.unsafe(nil), Integer)448module Selenium::WebDriver::Firefox::Legacy; end449class Selenium::WebDriver::Firefox::Legacy::Driver < ::Selenium::WebDriver::Driver450 include ::Selenium::WebDriver::DriverExtensions::TakesScreenshot451 def initialize(opts = T.unsafe(nil)); end452 def browser; end453 def quit; end454end455module Selenium::WebDriver::Firefox::Marionette; end456module Selenium::WebDriver::Firefox::Marionette::Bridge457 def commands(command); end458 def install_addon(path, temporary); end459 def uninstall_addon(id); end460end461Selenium::WebDriver::Firefox::Marionette::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)462class Selenium::WebDriver::Firefox::Marionette::Driver < ::Selenium::WebDriver::Driver463 include ::Selenium::WebDriver::DriverExtensions::HasAddons464 include ::Selenium::WebDriver::DriverExtensions::HasWebStorage465 include ::Selenium::WebDriver::DriverExtensions::TakesScreenshot466 def initialize(opts = T.unsafe(nil)); end467 def browser; end468 def quit; end469 private470 def create_capabilities(opts); end471end472class Selenium::WebDriver::Firefox::Options < ::Selenium::WebDriver::Common::Options473 def initialize(**opts); end474 def add_argument(arg); end475 def add_option(name, value); end476 def add_preference(name, value); end477 def args; end478 def as_json(*_arg0); end479 def binary; end480 def binary=(_arg0); end481 def headless!; end482 def log_level; end483 def log_level=(_arg0); end484 def options; end485 def prefs; end486 def profile; end487 def profile=(profile); end488 private489 def process_profile(profile); end490end491Selenium::WebDriver::Firefox::Options::KEY = T.let(T.unsafe(nil), String)492class Selenium::WebDriver::Firefox::Profile493 include ::Selenium::WebDriver::ProfileHelper494 extend ::Selenium::WebDriver::ProfileHelper::ClassMethods495 def initialize(model = T.unsafe(nil)); end496 def []=(key, value); end497 def add_extension(path, name = T.unsafe(nil)); end498 def add_webdriver_extension; end499 def assume_untrusted_certificate_issuer=(bool); end500 def assume_untrusted_certificate_issuer?; end501 def encoded; end502 def layout_on_disk; end503 def load_no_focus_lib=(_arg0); end504 def load_no_focus_lib?; end505 def log_file; end506 def log_file=(file); end507 def name; end508 def native_events=(_arg0); end509 def native_events?; end510 def port=(port); end511 def proxy=(proxy); end512 def secure_ssl=(_arg0); end513 def secure_ssl?; end514 private515 def delete_extensions_cache(directory); end516 def delete_lock_files(directory); end517 def extension_name_for(path); end518 def install_extensions(directory); end519 def read_model_prefs; end520 def read_user_prefs(path); end521 def set_manual_proxy_preference(key, value); end522 def update_user_prefs_in(directory); end523 def write_prefs(prefs, path); end524 class << self525 def default_preferences; end526 def from_name(name); end527 def ini; end528 end529end530Selenium::WebDriver::Firefox::Profile::VALID_PREFERENCE_TYPES = T.let(T.unsafe(nil), Array)531Selenium::WebDriver::Firefox::Profile::WEBDRIVER_EXTENSION_PATH = T.let(T.unsafe(nil), String)532Selenium::WebDriver::Firefox::Profile::WEBDRIVER_PREFS = T.let(T.unsafe(nil), Hash)533class Selenium::WebDriver::Firefox::ProfilesIni534 def initialize; end535 def [](name); end536 def refresh; end537 private538 def parse; end539 def path_for(name, is_relative, path); end540end541class Selenium::WebDriver::Firefox::Service < ::Selenium::WebDriver::Service542 private543 def extract_service_args(driver_opts); end544end545module Selenium::WebDriver::Firefox::Util546 private547 def app_data_path; end548 def stringified?(str); end549 class << self550 def app_data_path; end551 def stringified?(str); end552 end553end554module Selenium::WebDriver::HTML5; end555class Selenium::WebDriver::HTML5::LocalStorage556 include ::Enumerable557 include ::Selenium::WebDriver::HTML5::SharedWebStorage558 def initialize(bridge); end559 def [](key); end560 def []=(key, value); end561 def clear; end562 def delete(key); end563 def keys; end564 def size; end565end566class Selenium::WebDriver::HTML5::SessionStorage567 include ::Enumerable568 include ::Selenium::WebDriver::HTML5::SharedWebStorage569 def initialize(bridge); end570 def [](key); end571 def []=(key, value); end572 def clear; end573 def delete(key); end574 def keys; end575 def size; end576end577module Selenium::WebDriver::HTML5::SharedWebStorage578 include ::Enumerable579 def each; end580 def empty?; end581 def fetch(key); end582 def has_key?(key); end583 def key?(key); end584 def member?(key); end585end586module Selenium::WebDriver::IE587 class << self588 def driver_path; end589 def driver_path=(path); end590 end591end592class Selenium::WebDriver::IE::Driver < ::Selenium::WebDriver::Driver593 include ::Selenium::WebDriver::DriverExtensions::HasWebStorage594 include ::Selenium::WebDriver::DriverExtensions::TakesScreenshot595 def initialize(opts = T.unsafe(nil)); end596 def browser; end597 def quit; end598 private599 def create_capabilities(opts); end600end601class Selenium::WebDriver::IE::Options < ::Selenium::WebDriver::Common::Options602 def initialize(**opts); end603 def add_argument(arg); end604 def add_option(name, value); end605 def args; end606 def as_json(*_arg0); end607 def browser_attach_timeout; end608 def browser_attach_timeout=(value); end609 def element_scroll_behavior; end610 def element_scroll_behavior=(value); end611 def ensure_clean_session; end612 def ensure_clean_session=(value); end613 def file_upload_dialog_timeout; end614 def file_upload_dialog_timeout=(value); end615 def force_create_process_api; end616 def force_create_process_api=(value); end617 def force_shell_windows_api; end618 def force_shell_windows_api=(value); end619 def full_page_screenshot; end620 def full_page_screenshot=(value); end621 def ignore_protected_mode_settings; end622 def ignore_protected_mode_settings=(value); end623 def ignore_zoom_level; end624 def ignore_zoom_level=(value); end625 def initial_browser_url; end626 def initial_browser_url=(value); end627 def native_events; end628 def native_events=(value); end629 def options; end630 def persistent_hover; end631 def persistent_hover=(value); end632 def require_window_focus; end633 def require_window_focus=(value); end634 def use_per_process_proxy; end635 def use_per_process_proxy=(value); end636 def validate_cookie_document_type; end637 def validate_cookie_document_type=(value); end638end639Selenium::WebDriver::IE::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)640Selenium::WebDriver::IE::Options::KEY = T.let(T.unsafe(nil), String)641Selenium::WebDriver::IE::Options::SCROLL_BOTTOM = T.let(T.unsafe(nil), Integer)642Selenium::WebDriver::IE::Options::SCROLL_TOP = T.let(T.unsafe(nil), Integer)643class Selenium::WebDriver::IE::Service < ::Selenium::WebDriver::Service644 private645 def extract_service_args(driver_opts); end646end647module Selenium::WebDriver::Interactions648 class << self649 def key(name); end650 def none(name = T.unsafe(nil)); end651 def pointer(kind, **kwargs); end652 end653end654class Selenium::WebDriver::Interactions::InputDevice655 def initialize(name = T.unsafe(nil)); end656 def actions; end657 def add_action(action); end658 def clear_actions; end659 def create_pause(duration = T.unsafe(nil)); end660 def name; end661 def no_actions?; end662end663class Selenium::WebDriver::Interactions::Interaction664 def initialize(source); end665 def source; end666end667Selenium::WebDriver::Interactions::Interaction::PAUSE = T.let(T.unsafe(nil), Symbol)668Selenium::WebDriver::Interactions::KEY = T.let(T.unsafe(nil), Symbol)669class Selenium::WebDriver::Interactions::KeyInput < ::Selenium::WebDriver::Interactions::InputDevice670 def create_key_down(key); end671 def create_key_up(key); end672 def encode; end673 def type; end674end675Selenium::WebDriver::Interactions::KeyInput::SUBTYPES = T.let(T.unsafe(nil), Hash)676class Selenium::WebDriver::Interactions::KeyInput::TypingInteraction < ::Selenium::WebDriver::Interactions::Interaction677 def initialize(source, type, key); end678 def assert_type(type); end679 def encode; end680 def type; end681end682Selenium::WebDriver::Interactions::NONE = T.let(T.unsafe(nil), Symbol)683class Selenium::WebDriver::Interactions::NoneInput < ::Selenium::WebDriver::Interactions::InputDevice684 def encode; end685 def type; end686end687Selenium::WebDriver::Interactions::POINTER = T.let(T.unsafe(nil), Symbol)688class Selenium::WebDriver::Interactions::Pause < ::Selenium::WebDriver::Interactions::Interaction689 def initialize(source, duration = T.unsafe(nil)); end690 def encode; end691 def type; end692end693class Selenium::WebDriver::Interactions::PointerCancel < ::Selenium::WebDriver::Interactions::Interaction694 def encode; end695 def type; end696end697class Selenium::WebDriver::Interactions::PointerInput < ::Selenium::WebDriver::Interactions::InputDevice698 def initialize(kind, name: T.unsafe(nil)); end699 def assert_kind(pointer); end700 def create_pointer_cancel; end701 def create_pointer_down(button); end702 def create_pointer_move(duration: T.unsafe(nil), x: T.unsafe(nil), y: T.unsafe(nil), element: T.unsafe(nil), origin: T.unsafe(nil)); end703 def create_pointer_up(button); end704 def encode; end705 def kind; end706 def type; end707end708Selenium::WebDriver::Interactions::PointerInput::KIND = T.let(T.unsafe(nil), Hash)709class Selenium::WebDriver::Interactions::PointerMove < ::Selenium::WebDriver::Interactions::Interaction710 def initialize(source, duration, x, y, element: T.unsafe(nil), origin: T.unsafe(nil)); end711 def encode; end712 def type; end713end714Selenium::WebDriver::Interactions::PointerMove::ORIGINS = T.let(T.unsafe(nil), Array)715Selenium::WebDriver::Interactions::PointerMove::POINTER = T.let(T.unsafe(nil), Symbol)716Selenium::WebDriver::Interactions::PointerMove::VIEWPORT = T.let(T.unsafe(nil), Symbol)717class Selenium::WebDriver::Interactions::PointerPress < ::Selenium::WebDriver::Interactions::Interaction718 def initialize(source, direction, button); end719 def assert_button(button); end720 def assert_direction(direction); end721 def encode; end722 def type; end723end724Selenium::WebDriver::Interactions::PointerPress::BUTTONS = T.let(T.unsafe(nil), Hash)725Selenium::WebDriver::Interactions::PointerPress::DIRECTIONS = T.let(T.unsafe(nil), Hash)726Selenium::WebDriver::Interactions::SOURCE_TYPES = T.let(T.unsafe(nil), Array)727module Selenium::WebDriver::KeyActions728 def key_down(*args, device: T.unsafe(nil)); end729 def key_up(*args, device: T.unsafe(nil)); end730 def send_keys(*args, device: T.unsafe(nil)); end731 private732 def key_action(*args, action: T.unsafe(nil), device: T.unsafe(nil)); end733end734class Selenium::WebDriver::Keyboard735 def initialize(bridge); end736 def press(key); end737 def release(key); end738 def send_keys(*keys); end739 private740 def assert_modifier(key); end741end742Selenium::WebDriver::Keyboard::MODIFIERS = T.let(T.unsafe(nil), Array)743module Selenium::WebDriver::Keys744 class << self745 def [](key); end746 def encode(keys); end747 def encode_key(key); end748 end749end750Selenium::WebDriver::Keys::KEYS = T.let(T.unsafe(nil), Hash)751class Selenium::WebDriver::Location < ::Struct752 def altitude; end753 def altitude=(_); end754 def latitude; end755 def latitude=(_); end756 def longitude; end757 def longitude=(_); end758 class << self759 def [](*_arg0); end760 def inspect; end761 def members; end762 def new(*_arg0); end763 end764end765class Selenium::WebDriver::LogEntry766 def initialize(level, timestamp, message); end767 def as_json(*_arg0); end768 def level; end769 def message; end770 def time; end771 def timestamp; end772 def to_s; end773end774class Selenium::WebDriver::Logger775 extend ::Forwardable776 def initialize; end777 def close(*args, &block); end778 def debug(*args, &block); end779 def debug?(*args, &block); end780 def deprecate(old, new = T.unsafe(nil)); end781 def error(*args, &block); end782 def error?(*args, &block); end783 def fatal(*args, &block); end784 def fatal?(*args, &block); end785 def info(*args, &block); end786 def info?(*args, &block); end787 def io; end788 def level(*args, &block); end789 def level=(*args, &block); end790 def output=(io); end791 def warn(*args, &block); end792 def warn?(*args, &block); end793 private794 def create_logger(output); end795 def default_level; end796end797class Selenium::WebDriver::Logs798 def initialize(bridge); end799 def available_types; end800 def get(type); end801end802class Selenium::WebDriver::Manager803 def initialize(bridge); end804 def add_cookie(opts = T.unsafe(nil)); end805 def all_cookies; end806 def cookie_named(name); end807 def delete_all_cookies; end808 def delete_cookie(name); end809 def logs; end810 def new_window(type = T.unsafe(nil)); end811 def timeouts; end812 def window; end813 private814 def convert_cookie(cookie); end815 def datetime_at(int); end816 def seconds_from(obj); end817 def strip_port(str); end818end819Selenium::WebDriver::Manager::SECONDS_PER_DAY = T.let(T.unsafe(nil), Float)820class Selenium::WebDriver::Mouse821 def initialize(bridge); end822 def click(element = T.unsafe(nil)); end823 def context_click(element = T.unsafe(nil)); end824 def double_click(element = T.unsafe(nil)); end825 def down(element = T.unsafe(nil)); end826 def move_by(right_by, down_by); end827 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil)); end828 def up(element = T.unsafe(nil)); end829 private830 def assert_element(element); end831 def move_if_needed(element); end832end833class Selenium::WebDriver::Navigation834 def initialize(bridge); end835 def back; end836 def forward; end837 def refresh; end838 def to(url); end839end840module Selenium::WebDriver::Platform841 private842 def assert_executable(path); end843 def assert_file(path); end844 def bitsize; end845 def ci; end846 def cygwin?; end847 def cygwin_path(path, **opts); end848 def engine; end849 def exit_hook; end850 def find_binary(*binary_names); end851 def find_in_program_files(*binary_names); end852 def home; end853 def interfaces; end854 def ip; end855 def jruby?; end856 def linux?; end857 def localhost; end858 def mac?; end859 def make_writable(file); end860 def null_device; end861 def os; end862 def ruby_version; end863 def unix_path(path); end864 def windows?; end865 def windows_path(path); end866 def wrap_in_quotes_if_necessary(str); end867 def wsl?; end868 class << self869 def assert_executable(path); end870 def assert_file(path); end871 def bitsize; end872 def ci; end873 def cygwin?; end874 def cygwin_path(path, **opts); end875 def engine; end876 def exit_hook; end877 def find_binary(*binary_names); end878 def find_in_program_files(*binary_names); end879 def home; end880 def interfaces; end881 def ip; end882 def jruby?; end883 def linux?; end884 def localhost; end885 def mac?; end886 def make_writable(file); end887 def null_device; end888 def os; end889 def ruby_version; end890 def unix_path(path); end891 def windows?; end892 def windows_path(path); end893 def wrap_in_quotes_if_necessary(str); end894 def wsl?; end895 end896end897class Selenium::WebDriver::Point < ::Struct898 def x; end899 def x=(_); end900 def y; end901 def y=(_); end902 class << self903 def [](*_arg0); end904 def inspect; end905 def members; end906 def new(*_arg0); end907 end908end909module Selenium::WebDriver::PointerActions910 def click(element = T.unsafe(nil), device: T.unsafe(nil)); end911 def click_and_hold(element = T.unsafe(nil), device: T.unsafe(nil)); end912 def context_click(element = T.unsafe(nil), device: T.unsafe(nil)); end913 def default_move_duration; end914 def default_move_duration=(_arg0); end915 def double_click(element = T.unsafe(nil), device: T.unsafe(nil)); end916 def drag_and_drop(source, target, device: T.unsafe(nil)); end917 def drag_and_drop_by(source, right_by, down_by, device: T.unsafe(nil)); end918 def move_by(right_by, down_by, device: T.unsafe(nil)); end919 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil), device: T.unsafe(nil)); end920 def move_to_location(x, y, device: T.unsafe(nil)); end921 def pointer_down(button, device: T.unsafe(nil)); end922 def pointer_up(button, device: T.unsafe(nil)); end923 def release(device: T.unsafe(nil)); end924 private925 def button_action(button, action: T.unsafe(nil), device: T.unsafe(nil)); end926 def get_pointer(device = T.unsafe(nil)); end927end928class Selenium::WebDriver::PortProber929 class << self930 def above(port); end931 def free?(port); end932 end933end934Selenium::WebDriver::PortProber::IGNORED_ERRORS = T.let(T.unsafe(nil), Array)935module Selenium::WebDriver::ProfileHelper936 mixes_in_class_methods ::Selenium::WebDriver::ProfileHelper::ClassMethods937 def as_json(*_arg0); end938 def to_json(*_arg0); end939 private940 def create_tmp_copy(directory); end941 def verify_model(model); end942 class << self943 def included(base); end944 end945end946module Selenium::WebDriver::ProfileHelper::ClassMethods947 def from_json(json); end948end949class Selenium::WebDriver::Proxy950 def initialize(opts = T.unsafe(nil)); end951 def ==(other); end952 def as_json(*_arg0); end953 def auto_detect; end954 def auto_detect=(bool); end955 def eql?(other); end956 def ftp; end957 def ftp=(value); end958 def http; end959 def http=(value); end960 def no_proxy; end961 def no_proxy=(value); end962 def pac; end963 def pac=(url); end964 def socks; end965 def socks=(value); end966 def socks_password; end967 def socks_password=(value); end968 def socks_username; end969 def socks_username=(value); end970 def socks_version; end971 def socks_version=(value); end972 def ssl; end973 def ssl=(value); end974 def to_json(*_arg0); end975 def type; end976 def type=(type); end977 class << self978 def json_create(data); end979 end980end981Selenium::WebDriver::Proxy::ALLOWED = T.let(T.unsafe(nil), Hash)982Selenium::WebDriver::Proxy::TYPES = T.let(T.unsafe(nil), Hash)983class Selenium::WebDriver::Rectangle < ::Struct984 def height; end985 def height=(_); end986 def width; end987 def width=(_); end988 def x; end989 def x=(_); end990 def y; end991 def y=(_); end992 class << self993 def [](*_arg0); end994 def inspect; end995 def members; end996 def new(*_arg0); end997 end998end999module Selenium::WebDriver::Remote; end1000class Selenium::WebDriver::Remote::Bridge1001 include ::Selenium::WebDriver::Atoms1002 include ::Selenium::WebDriver::BridgeHelper1003 def initialize(opts = T.unsafe(nil)); end1004 def browser; end1005 def capabilities; end1006 def context; end1007 def context=(_arg0); end1008 def create_session(desired_capabilities, options = T.unsafe(nil)); end1009 def dialect; end1010 def file_detector; end1011 def file_detector=(_arg0); end1012 def http; end1013 def http=(_arg0); end1014 def session_id; end1015 private1016 def commands(command); end1017 def escaper; end1018 def execute(command, opts = T.unsafe(nil), command_hash = T.unsafe(nil)); end1019 def merged_capabilities(oss_capabilities, options = T.unsafe(nil)); end1020 class << self1021 def handshake(**opts); end1022 end1023end1024Selenium::WebDriver::Remote::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1025Selenium::WebDriver::Remote::Bridge::PORT = T.let(T.unsafe(nil), Integer)1026class Selenium::WebDriver::Remote::Capabilities1027 def initialize(opts = T.unsafe(nil)); end1028 def ==(other); end1029 def [](key); end1030 def []=(key, value); end1031 def as_json(*_arg0); end1032 def browser_name; end1033 def browser_name=(value); end1034 def css_selectors_enabled; end1035 def css_selectors_enabled=(value); end1036 def css_selectors_enabled?; end1037 def eql?(other); end1038 def firefox_profile; end1039 def firefox_profile=(value); end1040 def javascript_enabled; end1041 def javascript_enabled=(value); end1042 def javascript_enabled?; end1043 def merge!(other); end1044 def native_events; end1045 def native_events=(value); end1046 def native_events?; end1047 def platform; end1048 def platform=(value); end1049 def proxy; end1050 def proxy=(proxy); end1051 def rotatable; end1052 def rotatable=(value); end1053 def rotatable?; end1054 def takes_screenshot; end1055 def takes_screenshot=(value); end1056 def takes_screenshot?; end1057 def to_json(*_arg0); end1058 def version; end1059 def version=(value); end1060 protected1061 def capabilities; end1062 private1063 def camel_case(str); end1064 class << self1065 def chrome(opts = T.unsafe(nil)); end1066 def edge(opts = T.unsafe(nil)); end1067 def firefox(opts = T.unsafe(nil)); end1068 def firefox_legacy(opts = T.unsafe(nil)); end1069 def htmlunit(opts = T.unsafe(nil)); end1070 def htmlunitwithjs(opts = T.unsafe(nil)); end1071 def ie(opts = T.unsafe(nil)); end1072 def internet_explorer(opts = T.unsafe(nil)); end1073 def json_create(data); end1074 def phantomjs(opts = T.unsafe(nil)); end1075 def safari(opts = T.unsafe(nil)); end1076 end1077end1078Selenium::WebDriver::Remote::Capabilities::DEFAULTS = T.let(T.unsafe(nil), Hash)1079class Selenium::WebDriver::Remote::Driver < ::Selenium::WebDriver::Driver1080 include ::Selenium::WebDriver::DriverExtensions::UploadsFiles1081 include ::Selenium::WebDriver::DriverExtensions::TakesScreenshot1082 include ::Selenium::WebDriver::DriverExtensions::HasSessionId1083 include ::Selenium::WebDriver::DriverExtensions::Rotatable1084 include ::Selenium::WebDriver::DriverExtensions::HasRemoteStatus1085 include ::Selenium::WebDriver::DriverExtensions::HasWebStorage1086 def initialize(opts = T.unsafe(nil)); end1087end1088module Selenium::WebDriver::Remote::Http; end1089class Selenium::WebDriver::Remote::Http::Common1090 def initialize; end1091 def call(verb, url, command_hash); end1092 def close; end1093 def quit_errors; end1094 def server_url=(_arg0); end1095 def timeout; end1096 def timeout=(_arg0); end1097 private1098 def create_response(code, body, content_type); end1099 def request(*_arg0); end1100 def server_url; end1101end1102Selenium::WebDriver::Remote::Http::Common::CONTENT_TYPE = T.let(T.unsafe(nil), String)1103Selenium::WebDriver::Remote::Http::Common::DEFAULT_HEADERS = T.let(T.unsafe(nil), Hash)1104Selenium::WebDriver::Remote::Http::Common::MAX_REDIRECTS = T.let(T.unsafe(nil), Integer)1105class Selenium::WebDriver::Remote::Http::Default < ::Selenium::WebDriver::Remote::Http::Common1106 def initialize(open_timeout: T.unsafe(nil), read_timeout: T.unsafe(nil)); end1107 def close; end1108 def open_timeout; end1109 def open_timeout=(_arg0); end1110 def proxy=(_arg0); end1111 def read_timeout; end1112 def read_timeout=(_arg0); end1113 def timeout=(value); end1114 private1115 def http; end1116 def new_http_client; end1117 def new_request_for(verb, url, headers, payload); end1118 def proxy; end1119 def request(verb, url, headers, payload, redirects = T.unsafe(nil)); end1120 def response_for(request); end1121 def use_proxy?; end1122end1123Selenium::WebDriver::Remote::Http::Default::MAX_RETRIES = T.let(T.unsafe(nil), Integer)1124module Selenium::WebDriver::Remote::OSS; end1125class Selenium::WebDriver::Remote::OSS::Bridge < ::Selenium::WebDriver::Remote::Bridge1126 def initialize(capabilities, session_id, **opts); end1127 def accept_alert; end1128 def action; end1129 def active_element; end1130 def add_cookie(cookie); end1131 def alert=(keys); end1132 def alert_text; end1133 def authentication(credentials); end1134 def available_log_types; end1135 def clear_element(element); end1136 def clear_local_storage; end1137 def clear_session_storage; end1138 def click; end1139 def click_element(element); end1140 def close; end1141 def commands(command); end1142 def context_click; end1143 def cookies; end1144 def delete_all_cookies; end1145 def delete_cookie(name); end1146 def dialect; end1147 def dismiss_alert; end1148 def double_click; end1149 def drag_element(element, right_by, down_by); end1150 def element_attribute(element, name); end1151 def element_displayed?(element); end1152 def element_enabled?(element); end1153 def element_location(element); end1154 def element_location_once_scrolled_into_view(element); end1155 def element_property(element, name); end1156 def element_rect(element); end1157 def element_selected?(element); end1158 def element_size(element); end1159 def element_tag_name(element); end1160 def element_text(element); end1161 def element_value(element); end1162 def element_value_of_css_property(element, prop); end1163 def execute_async_script(script, *args); end1164 def execute_script(script, *args); end1165 def find_element_by(how, what, parent = T.unsafe(nil)); end1166 def find_elements_by(how, what, parent = T.unsafe(nil)); end1167 def get(url); end1168 def go_back; end1169 def go_forward; end1170 def implicit_wait_timeout=(milliseconds); end1171 def keyboard; end1172 def local_storage_item(key, value = T.unsafe(nil)); end1173 def local_storage_keys; end1174 def local_storage_size; end1175 def location; end1176 def log(type); end1177 def manage; end1178 def maximize_window(handle = T.unsafe(nil)); end1179 def mouse; end1180 def mouse_down; end1181 def mouse_move_to(element, x = T.unsafe(nil), y = T.unsafe(nil)); end1182 def mouse_up; end1183 def network_connection; end1184 def network_connection=(type); end1185 def page_source; end1186 def quit; end1187 def refresh; end1188 def remove_local_storage_item(key); end1189 def remove_session_storage_item(key); end1190 def reposition_window(x, y, handle = T.unsafe(nil)); end1191 def resize_window(width, height, handle = T.unsafe(nil)); end1192 def screen_orientation; end1193 def screen_orientation=(orientation); end1194 def screenshot; end1195 def script_timeout=(milliseconds); end1196 def send_keys_to_active_element(key); end1197 def send_keys_to_element(element, keys); end1198 def session_capabilities; end1199 def session_storage_item(key, value = T.unsafe(nil)); end1200 def session_storage_keys; end1201 def session_storage_size; end1202 def set_location(lat, lon, alt); end1203 def status; end1204 def submit_element(element); end1205 def switch_to_active_element; end1206 def switch_to_default_content; end1207 def switch_to_frame(id); end1208 def switch_to_parent_frame; end1209 def switch_to_window(name); end1210 def timeout(type, milliseconds); end1211 def title; end1212 def touch_double_tap(element); end1213 def touch_down(x, y); end1214 def touch_element_flick(element, right_by, down_by, speed); end1215 def touch_flick(xspeed, yspeed); end1216 def touch_long_press(element); end1217 def touch_move(x, y); end1218 def touch_scroll(element, x, y); end1219 def touch_single_tap(element); end1220 def touch_up(x, y); end1221 def upload(local_file); end1222 def url; end1223 def window_handle; end1224 def window_handles; end1225 def window_position(handle = T.unsafe(nil)); end1226 def window_size(handle = T.unsafe(nil)); end1227 private1228 def assert_javascript_enabled; end1229 def execute(*args); end1230end1231Selenium::WebDriver::Remote::OSS::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1232class Selenium::WebDriver::Remote::Response1233 def initialize(code, payload = T.unsafe(nil)); end1234 def [](key); end1235 def code; end1236 def error; end1237 def error_message; end1238 def payload; end1239 def payload=(_arg0); end1240 private1241 def add_backtrace(ex); end1242 def assert_ok; end1243 def backtrace_from_remote(server_trace); end1244 def error_payload; end1245 def status; end1246 def value; end1247end1248Selenium::WebDriver::Remote::Response::STACKTRACE_KEY = T.let(T.unsafe(nil), String)1249module Selenium::WebDriver::Remote::W3C; end1250class Selenium::WebDriver::Remote::W3C::Bridge < ::Selenium::WebDriver::Remote::Bridge1251 def initialize(capabilities, session_id, **opts); end1252 def accept_alert; end1253 def action(async = T.unsafe(nil)); end1254 def actions(async = T.unsafe(nil)); end1255 def active_element; end1256 def add_cookie(cookie); end1257 def alert=(keys); end1258 def alert_text; end1259 def clear_element(element); end1260 def clear_local_storage; end1261 def clear_session_storage; end1262 def click_element(element); end1263 def close; end1264 def commands(command); end1265 def cookie(name); end1266 def cookies; end1267 def delete_all_cookies; end1268 def delete_cookie(name); end1269 def dialect; end1270 def dismiss_alert; end1271 def drag_element(element, right_by, down_by); end1272 def element_attribute(element, name); end1273 def element_displayed?(element); end1274 def element_enabled?(element); end1275 def element_location(element); end1276 def element_location_once_scrolled_into_view(element); end1277 def element_property(element, name); end1278 def element_rect(element); end1279 def element_selected?(element); end1280 def element_size(element); end1281 def element_tag_name(element); end1282 def element_text(element); end1283 def element_value(element); end1284 def element_value_of_css_property(element, prop); end1285 def execute_async_script(script, *args); end1286 def execute_script(script, *args); end1287 def find_element_by(how, what, parent = T.unsafe(nil)); end1288 def find_elements_by(how, what, parent = T.unsafe(nil)); end1289 def full_screen_window; end1290 def get(url); end1291 def go_back; end1292 def go_forward; end1293 def implicit_wait_timeout=(milliseconds); end1294 def keyboard; end1295 def local_storage_item(key, value = T.unsafe(nil)); end1296 def local_storage_keys; end1297 def local_storage_size; end1298 def location; end1299 def manage; end1300 def maximize_window(handle = T.unsafe(nil)); end1301 def minimize_window; end1302 def mouse; end1303 def network_connection; end1304 def network_connection=(_type); end1305 def new_window(type); end1306 def page_source; end1307 def quit; end1308 def refresh; end1309 def release_actions; end1310 def remove_local_storage_item(key); end1311 def remove_session_storage_item(key); end1312 def reposition_window(x, y); end1313 def resize_window(width, height, handle = T.unsafe(nil)); end1314 def screen_orientation; end1315 def screen_orientation=(orientation); end1316 def screenshot; end1317 def script_timeout=(milliseconds); end1318 def send_actions(data); end1319 def send_keys_to_element(element, keys); end1320 def session_storage_item(key, value = T.unsafe(nil)); end1321 def session_storage_keys; end1322 def session_storage_size; end1323 def set_location(_lat, _lon, _alt); end1324 def set_window_rect(x: T.unsafe(nil), y: T.unsafe(nil), width: T.unsafe(nil), height: T.unsafe(nil)); end1325 def status; end1326 def submit_element(element); end1327 def switch_to_active_element; end1328 def switch_to_default_content; end1329 def switch_to_frame(id); end1330 def switch_to_parent_frame; end1331 def switch_to_window(name); end1332 def timeout(type, milliseconds); end1333 def title; end1334 def touch_double_tap(element); end1335 def touch_down(x, y); end1336 def touch_element_flick(element, right_by, down_by, speed); end1337 def touch_flick(xspeed, yspeed); end1338 def touch_long_press(element); end1339 def touch_move(x, y); end1340 def touch_scroll(element, x, y); end1341 def touch_single_tap(element); end1342 def touch_up(x, y); end1343 def upload(local_file); end1344 def url; end1345 def window_handle; end1346 def window_handles; end1347 def window_position; end1348 def window_rect; end1349 def window_size(handle = T.unsafe(nil)); end1350 private1351 def convert_locators(how, what); end1352 def escape_css(string); end1353 def execute(*_arg0); end1354end1355Selenium::WebDriver::Remote::W3C::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1356Selenium::WebDriver::Remote::W3C::Bridge::ESCAPE_CSS_REGEXP = T.let(T.unsafe(nil), Regexp)1357Selenium::WebDriver::Remote::W3C::Bridge::QUIT_ERRORS = T.let(T.unsafe(nil), Array)1358Selenium::WebDriver::Remote::W3C::Bridge::UNICODE_CODE_POINT = T.let(T.unsafe(nil), Integer)1359class Selenium::WebDriver::Remote::W3C::Capabilities1360 def initialize(opts = T.unsafe(nil)); end1361 def ==(other); end1362 def [](key); end1363 def []=(key, value); end1364 def accept_insecure_certs; end1365 def accept_insecure_certs=(value); end1366 def accessibility_checks; end1367 def accessibility_checks=(value); end1368 def as_json(*_arg0); end1369 def browser_name; end1370 def browser_name=(value); end1371 def browser_version; end1372 def browser_version=(value); end1373 def device; end1374 def device=(value); end1375 def eql?(other); end1376 def implicit_timeout; end1377 def implicit_timeout=(value); end1378 def merge!(other); end1379 def page_load_strategy; end1380 def page_load_strategy=(value); end1381 def page_load_timeout; end1382 def page_load_timeout=(value); end1383 def platform; end1384 def platform=(value); end1385 def platform_name; end1386 def platform_name=(value); end1387 def proxy; end1388 def proxy=(proxy); end1389 def remote_session_id; end1390 def remote_session_id=(value); end1391 def script_timeout; end1392 def script_timeout=(value); end1393 def set_window_rect; end1394 def set_window_rect=(value); end1395 def strict_file_interactability; end1396 def strict_file_interactability=(value); end1397 def timeouts; end1398 def timeouts=(value); end1399 def to_json(*_arg0); end1400 def unhandled_prompt_behavior; end1401 def unhandled_prompt_behavior=(value); end1402 def version; end1403 def version=(value); end1404 protected1405 def capabilities; end1406 private1407 def camel_case(str); end1408 class << self1409 def edge(opts = T.unsafe(nil)); end1410 def ff(opts = T.unsafe(nil)); end1411 def firefox(opts = T.unsafe(nil)); end1412 def from_oss(oss_capabilities); end1413 def json_create(data); end1414 end1415end1416Selenium::WebDriver::Remote::W3C::Capabilities::EXTENSION_CAPABILITY_PATTERN = T.let(T.unsafe(nil), Regexp)1417Selenium::WebDriver::Remote::W3C::Capabilities::KNOWN = T.let(T.unsafe(nil), Array)1418module Selenium::WebDriver::Safari1419 class << self1420 def driver_path; end1421 def driver_path=(path); end1422 def path; end1423 def path=(path); end1424 def technology_preview; end1425 def technology_preview!; end1426 end1427end1428module Selenium::WebDriver::Safari::Bridge1429 def attach_debugger; end1430 def commands(command); end1431 def permissions; end1432 def permissions=(permissions); end1433end1434Selenium::WebDriver::Safari::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1435class Selenium::WebDriver::Safari::Driver < ::Selenium::WebDriver::Driver1436 include ::Selenium::WebDriver::DriverExtensions::HasDebugger1437 include ::Selenium::WebDriver::DriverExtensions::HasPermissions1438 include ::Selenium::WebDriver::DriverExtensions::TakesScreenshot1439 def initialize(opts = T.unsafe(nil)); end1440 def browser; end1441 def quit; end1442 private1443 def create_capabilities(opts = T.unsafe(nil)); end1444end1445class Selenium::WebDriver::Safari::Options1446 def initialize(**opts); end1447 def as_json(*_arg0); end1448 def automatic_inspection; end1449 def automatic_inspection=(_arg0); end1450 def automatic_profiling; end1451 def automatic_profiling=(_arg0); end1452end1453class Selenium::WebDriver::Safari::Service < ::Selenium::WebDriver::Service; end1454module Selenium::WebDriver::SearchContext1455 def find_element(*args); end1456 def find_elements(*args); end1457 private1458 def extract_args(args); end1459end1460Selenium::WebDriver::SearchContext::FINDERS = T.let(T.unsafe(nil), Hash)1461class Selenium::WebDriver::Service1462 def initialize(path: T.unsafe(nil), port: T.unsafe(nil), args: T.unsafe(nil)); end1463 def executable_path; end1464 def host; end1465 def host=(_arg0); end1466 def start; end1467 def stop; end1468 def uri; end1469 protected1470 def extract_service_args(driver_opts); end1471 private1472 def binary_path(path = T.unsafe(nil)); end1473 def build_process(*command); end1474 def cannot_connect_error_text; end1475 def connect_to_server; end1476 def connect_until_stable; end1477 def find_free_port; end1478 def process_exited?; end1479 def process_running?; end1480 def socket_lock; end1481 def start_process; end1482 def stop_process; end1483 def stop_server; end1484 class << self1485 def chrome(**opts); end1486 def default_port; end1487 def driver_path; end1488 def driver_path=(path); end1489 def edge(**opts); end1490 def executable; end1491 def firefox(**opts); end1492 def ie(**opts); end1493 def internet_explorer(**opts); end1494 def missing_text; end1495 def safari(**opts); end1496 def shutdown_supported; end1497 end1498end1499Selenium::WebDriver::Service::SOCKET_LOCK_TIMEOUT = T.let(T.unsafe(nil), Integer)1500Selenium::WebDriver::Service::START_TIMEOUT = T.let(T.unsafe(nil), Integer)1501Selenium::WebDriver::Service::STOP_TIMEOUT = T.let(T.unsafe(nil), Integer)1502class Selenium::WebDriver::SocketLock1503 def initialize(port, timeout); end1504 def locked; end1505 private1506 def can_lock?; end1507 def current_time; end1508 def did_lock?; end1509 def lock; end1510 def release; end1511end1512class Selenium::WebDriver::SocketPoller1513 def initialize(host, port, timeout = T.unsafe(nil), interval = T.unsafe(nil)); end1514 def closed?; end1515 def connected?; end1516 private1517 def conn_completed?(sock); end1518 def current_time; end1519 def listening?; end1520 def socket_writable?(sock); end1521 def with_timeout; end1522end1523Selenium::WebDriver::SocketPoller::CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1524Selenium::WebDriver::SocketPoller::CONNECT_TIMEOUT = T.let(T.unsafe(nil), Integer)1525Selenium::WebDriver::SocketPoller::NOT_CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1526module Selenium::WebDriver::Support; end1527class Selenium::WebDriver::Support::AbstractEventListener1528 def after_change_value_of(element, driver); end1529 def after_click(element, driver); end1530 def after_close(driver); end1531 def after_execute_script(script, driver); end1532 def after_find(by, what, driver); end1533 def after_navigate_back(driver); end1534 def after_navigate_forward(driver); end1535 def after_navigate_to(url, driver); end1536 def after_quit(driver); end1537 def before_change_value_of(element, driver); end1538 def before_click(element, driver); end1539 def before_close(driver); end1540 def before_execute_script(script, driver); end1541 def before_find(by, what, driver); end1542 def before_navigate_back(driver); end1543 def before_navigate_forward(driver); end1544 def before_navigate_to(url, driver); end1545 def before_quit(driver); end1546end1547class Selenium::WebDriver::Support::BlockEventListener1548 def initialize(callback); end1549 def method_missing(meth, *args); end1550end1551class Selenium::WebDriver::Support::Color1552 def initialize(red, green, blue, alpha = T.unsafe(nil)); end1553 def ==(other); end1554 def alpha; end1555 def blue; end1556 def eql?(other); end1557 def green; end1558 def hash; end1559 def hex; end1560 def red; end1561 def rgb; end1562 def rgba; end1563 class << self1564 def from_hsl(h, s, l, a); end1565 def from_string(str); end1566 def hue_to_rgb(lum1, lum2, hue); end1567 end1568end1569Selenium::WebDriver::Support::Color::HEX3_PATTERN = T.let(T.unsafe(nil), Regexp)1570Selenium::WebDriver::Support::Color::HEX_PATTERN = T.let(T.unsafe(nil), Regexp)1571Selenium::WebDriver::Support::Color::HSLA_PATTERN = T.let(T.unsafe(nil), Regexp)1572Selenium::WebDriver::Support::Color::HSL_PATTERN = T.let(T.unsafe(nil), Regexp)1573Selenium::WebDriver::Support::Color::RGBA_PATTERN = T.let(T.unsafe(nil), Regexp)1574Selenium::WebDriver::Support::Color::RGBA_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1575Selenium::WebDriver::Support::Color::RGB_PATTERN = T.let(T.unsafe(nil), Regexp)1576Selenium::WebDriver::Support::Color::RGB_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1577module Selenium::WebDriver::Support::Escaper1578 class << self1579 def escape(str); end1580 end1581end1582class Selenium::WebDriver::Support::EventFiringBridge1583 def initialize(delegate, listener); end1584 def clear_element(ref); end1585 def click_element(ref); end1586 def close; end1587 def execute_script(script, *args); end1588 def find_element_by(how, what, parent = T.unsafe(nil)); end1589 def find_elements_by(how, what, parent = T.unsafe(nil)); end1590 def get(url); end1591 def go_back; end1592 def go_forward; end1593 def quit; end1594 def send_keys_to_element(ref, keys); end1595 private1596 def create_element(ref); end1597 def dispatch(name, *args); end1598 def driver; end1599 def method_missing(meth, *args, &blk); end1600end1601class Selenium::WebDriver::Support::Select1602 def initialize(element); end1603 def deselect_all; end1604 def deselect_by(how, what); end1605 def first_selected_option; end1606 def multiple?; end1607 def options; end1608 def select_all; end1609 def select_by(how, what); end1610 def selected_options; end1611 private1612 def deselect_by_index(index); end1613 def deselect_by_text(text); end1614 def deselect_by_value(value); end1615 def deselect_option(option); end1616 def deselect_options(opts); end1617 def find_by_index(index); end1618 def find_by_text(text); end1619 def find_by_value(value); end1620 def select_by_index(index); end1621 def select_by_text(text); end1622 def select_by_value(value); end1623 def select_option(option); end1624 def select_options(opts); end1625end1626class Selenium::WebDriver::TargetLocator1627 def initialize(bridge); end1628 def active_element; end1629 def alert; end1630 def default_content; end1631 def frame(id); end1632 def parent_frame; end1633 def window(id); end1634end1635class Selenium::WebDriver::Timeouts1636 def initialize(bridge); end1637 def implicit_wait=(seconds); end1638 def page_load=(seconds); end1639 def script_timeout=(seconds); end1640end1641class Selenium::WebDriver::TouchActionBuilder < ::Selenium::WebDriver::ActionBuilder1642 def initialize(mouse, keyboard, touch_screen); end1643 def double_tap(element); end1644 def down(x, y = T.unsafe(nil)); end1645 def flick(*args); end1646 def long_press(element); end1647 def move(x, y = T.unsafe(nil)); end1648 def scroll(*args); end1649 def single_tap(element); end1650 def up(x, y = T.unsafe(nil)); end1651end1652class Selenium::WebDriver::TouchScreen1653 def initialize(bridge); end1654 def double_tap(element); end1655 def down(x, y = T.unsafe(nil)); end1656 def flick(*args); end1657 def long_press(element); end1658 def move(x, y = T.unsafe(nil)); end1659 def scroll(*args); end1660 def single_tap(element); end1661 def up(x, y = T.unsafe(nil)); end1662 private1663 def assert_element(element); end1664 def coords_from(x, y); end1665end1666Selenium::WebDriver::TouchScreen::FLICK_SPEED = T.let(T.unsafe(nil), Hash)1667Selenium::WebDriver::VERSION = T.let(T.unsafe(nil), String)1668class Selenium::WebDriver::W3CActionBuilder1669 include ::Selenium::WebDriver::KeyActions1670 include ::Selenium::WebDriver::PointerActions1671 def initialize(bridge, mouse, keyboard, async = T.unsafe(nil)); end1672 def add_key_input(name); end1673 def add_pointer_input(kind, name); end1674 def clear_all_actions; end1675 def devices; end1676 def get_device(name); end1677 def key_inputs; end1678 def pause(device, duration = T.unsafe(nil)); end1679 def pauses(device, number, duration = T.unsafe(nil)); end1680 def perform; end1681 def pointer_inputs; end1682 def release_actions; end1683 private1684 def add_input(device); end1685 def tick(*action_devices); end...
selenium-webdriver-2.33.0.gemspec
Source:selenium-webdriver-2.33.0.gemspec
...6 s.authors = ["Jari Bakken"]7 s.date = %q{2013-05-26}8 s.description = %q{WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application.}9 s.email = %q{jari.bakken@gmail.com}10 s.files = ["lib/selenium-client.rb", "lib/selenium-webdriver.rb", "lib/selenium/client.rb", "lib/selenium/server.rb", "lib/selenium/webdriver.rb", "lib/selenium/client/base.rb", "lib/selenium/client/driver.rb", "lib/selenium/client/errors.rb", "lib/selenium/client/extensions.rb", "lib/selenium/client/idiomatic.rb", "lib/selenium/client/javascript_expression_builder.rb", "lib/selenium/client/legacy_driver.rb", "lib/selenium/client/protocol.rb", "lib/selenium/client/selenium_helper.rb", "lib/selenium/client/javascript_frameworks/jquery.rb", "lib/selenium/client/javascript_frameworks/prototype.rb", "lib/selenium/rake/server_task.rb", "lib/selenium/webdriver/android.rb", "lib/selenium/webdriver/chrome.rb", "lib/selenium/webdriver/common.rb", "lib/selenium/webdriver/firefox.rb", "lib/selenium/webdriver/ie.rb", "lib/selenium/webdriver/iphone.rb", "lib/selenium/webdriver/opera.rb", "lib/selenium/webdriver/phantomjs.rb", "lib/selenium/webdriver/remote.rb", "lib/selenium/webdriver/safari.rb", "lib/selenium/webdriver/support.rb", "lib/selenium/webdriver/android/bridge.rb", "lib/selenium/webdriver/chrome/bridge.rb", "lib/selenium/webdriver/chrome/profile.rb", "lib/selenium/webdriver/chrome/service.rb", "lib/selenium/webdriver/common/action_builder.rb", "lib/selenium/webdriver/common/alert.rb", "lib/selenium/webdriver/common/bridge_helper.rb", "lib/selenium/webdriver/common/driver.rb", "lib/selenium/webdriver/common/element.rb", "lib/selenium/webdriver/common/error.rb", "lib/selenium/webdriver/common/file_reaper.rb", "lib/selenium/webdriver/common/json_helper.rb", "lib/selenium/webdriver/common/keyboard.rb", "lib/selenium/webdriver/common/keys.rb", "lib/selenium/webdriver/common/log_entry.rb", "lib/selenium/webdriver/common/mouse.rb", "lib/selenium/webdriver/common/navigation.rb", "lib/selenium/webdriver/common/options.rb", "lib/selenium/webdriver/common/platform.rb", "lib/selenium/webdriver/common/port_prober.rb", "lib/selenium/webdriver/common/profile_helper.rb", "lib/selenium/webdriver/common/proxy.rb", "lib/selenium/webdriver/common/search_context.rb", "lib/selenium/webdriver/common/socket_poller.rb", "lib/selenium/webdriver/common/target_locator.rb", "lib/selenium/webdriver/common/timeouts.rb", "lib/selenium/webdriver/common/touch_action_builder.rb", "lib/selenium/webdriver/common/touch_screen.rb", "lib/selenium/webdriver/common/wait.rb", "lib/selenium/webdriver/common/window.rb", "lib/selenium/webdriver/common/zipper.rb", "lib/selenium/webdriver/common/core_ext/base64.rb", "lib/selenium/webdriver/common/core_ext/dir.rb", "lib/selenium/webdriver/common/core_ext/string.rb", "lib/selenium/webdriver/common/driver_extensions/has_browser_connection.rb", "lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb", "lib/selenium/webdriver/common/driver_extensions/has_location.rb", "lib/selenium/webdriver/common/driver_extensions/has_session_id.rb", "lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb", "lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb", "lib/selenium/webdriver/common/driver_extensions/rotatable.rb", "lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb", "lib/selenium/webdriver/common/driver_extensions/uploads_files.rb", "lib/selenium/webdriver/common/html5/local_storage.rb", "lib/selenium/webdriver/common/html5/location.rb", "lib/selenium/webdriver/common/html5/session_storage.rb", "lib/selenium/webdriver/common/html5/shared_web_storage.rb", "lib/selenium/webdriver/firefox/binary.rb", "lib/selenium/webdriver/firefox/bridge.rb", "lib/selenium/webdriver/firefox/extension.rb", "lib/selenium/webdriver/firefox/launcher.rb", "lib/selenium/webdriver/firefox/profile.rb", "lib/selenium/webdriver/firefox/profiles_ini.rb", "lib/selenium/webdriver/firefox/socket_lock.rb", "lib/selenium/webdriver/firefox/util.rb", "lib/selenium/webdriver/firefox/extension/prefs.json", "lib/selenium/webdriver/firefox/extension/webdriver.xpi", "lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so", "lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so", "lib/selenium/webdriver/ie/bridge.rb", "lib/selenium/webdriver/ie/server.rb", "lib/selenium/webdriver/iphone/bridge.rb", "lib/selenium/webdriver/opera/bridge.rb", "lib/selenium/webdriver/opera/service.rb", "lib/selenium/webdriver/phantomjs/bridge.rb", "lib/selenium/webdriver/phantomjs/service.rb", "lib/selenium/webdriver/remote/bridge.rb", "lib/selenium/webdriver/remote/capabilities.rb", "lib/selenium/webdriver/remote/commands.rb", "lib/selenium/webdriver/remote/response.rb", "lib/selenium/webdriver/remote/server_error.rb", "lib/selenium/webdriver/remote/http/common.rb", "lib/selenium/webdriver/remote/http/curb.rb", "lib/selenium/webdriver/remote/http/default.rb", "lib/selenium/webdriver/remote/http/persistent.rb", "lib/selenium/webdriver/safari/bridge.rb", "lib/selenium/webdriver/safari/browser.rb", "lib/selenium/webdriver/safari/extension.rb", "lib/selenium/webdriver/safari/server.rb", "lib/selenium/webdriver/safari/resources/client.js", "lib/selenium/webdriver/safari/resources/SafariDriver.safariextz", "lib/selenium/webdriver/support/abstract_event_listener.rb", "lib/selenium/webdriver/support/block_event_listener.rb", "lib/selenium/webdriver/support/color.rb", "lib/selenium/webdriver/support/event_firing_bridge.rb", "lib/selenium/webdriver/support/select.rb", "CHANGES", "README.md", "COPYING"]11 s.homepage = %q{http://selenium.googlecode.com}12 s.require_paths = ["lib"]13 s.rubygems_version = %q{1.3.6}14 s.summary = %q{The next generation developer focused tool for automated testing of webapps}15 if s.respond_to? :specification_version then16 current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION17 s.specification_version = 318 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then19 s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])20 s.add_runtime_dependency(%q<rubyzip>, [">= 0"])21 s.add_runtime_dependency(%q<childprocess>, [">= 0.2.5"])22 s.add_runtime_dependency(%q<websocket>, ["~> 1.0.4"])23 s.add_development_dependency(%q<rspec>, ["~> 2.0"])24 s.add_development_dependency(%q<rack>, ["~> 1.0"])...
selenium-webdriver-2.29.0.gemspec
Source:selenium-webdriver-2.29.0.gemspec
...6 s.authors = ["Jari Bakken"]7 s.date = %q{2013-01-20}8 s.description = %q{WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application.}9 s.email = %q{jari.bakken@gmail.com}10 s.files = ["lib/selenium-client.rb", "lib/selenium-webdriver.rb", "lib/selenium/client.rb", "lib/selenium/server.rb", "lib/selenium/webdriver.rb", "lib/selenium/client/base.rb", "lib/selenium/client/driver.rb", "lib/selenium/client/errors.rb", "lib/selenium/client/extensions.rb", "lib/selenium/client/idiomatic.rb", "lib/selenium/client/javascript_expression_builder.rb", "lib/selenium/client/legacy_driver.rb", "lib/selenium/client/protocol.rb", "lib/selenium/client/selenium_helper.rb", "lib/selenium/client/javascript_frameworks/jquery.rb", "lib/selenium/client/javascript_frameworks/prototype.rb", "lib/selenium/rake/server_task.rb", "lib/selenium/webdriver/android.rb", "lib/selenium/webdriver/chrome.rb", "lib/selenium/webdriver/common.rb", "lib/selenium/webdriver/firefox.rb", "lib/selenium/webdriver/ie.rb", "lib/selenium/webdriver/iphone.rb", "lib/selenium/webdriver/opera.rb", "lib/selenium/webdriver/phantomjs.rb", "lib/selenium/webdriver/remote.rb", "lib/selenium/webdriver/safari.rb", "lib/selenium/webdriver/support.rb", "lib/selenium/webdriver/android/bridge.rb", "lib/selenium/webdriver/chrome/bridge.rb", "lib/selenium/webdriver/chrome/profile.rb", "lib/selenium/webdriver/chrome/service.rb", "lib/selenium/webdriver/common/action_builder.rb", "lib/selenium/webdriver/common/alert.rb", "lib/selenium/webdriver/common/bridge_helper.rb", "lib/selenium/webdriver/common/driver.rb", "lib/selenium/webdriver/common/element.rb", "lib/selenium/webdriver/common/error.rb", "lib/selenium/webdriver/common/file_reaper.rb", "lib/selenium/webdriver/common/json_helper.rb", "lib/selenium/webdriver/common/keyboard.rb", "lib/selenium/webdriver/common/keys.rb", "lib/selenium/webdriver/common/log_entry.rb", "lib/selenium/webdriver/common/mouse.rb", "lib/selenium/webdriver/common/navigation.rb", "lib/selenium/webdriver/common/options.rb", "lib/selenium/webdriver/common/platform.rb", "lib/selenium/webdriver/common/port_prober.rb", "lib/selenium/webdriver/common/profile_helper.rb", "lib/selenium/webdriver/common/proxy.rb", "lib/selenium/webdriver/common/search_context.rb", "lib/selenium/webdriver/common/socket_poller.rb", "lib/selenium/webdriver/common/target_locator.rb", "lib/selenium/webdriver/common/timeouts.rb", "lib/selenium/webdriver/common/touch_action_builder.rb", "lib/selenium/webdriver/common/touch_screen.rb", "lib/selenium/webdriver/common/wait.rb", "lib/selenium/webdriver/common/window.rb", "lib/selenium/webdriver/common/zipper.rb", "lib/selenium/webdriver/common/core_ext/base64.rb", "lib/selenium/webdriver/common/core_ext/dir.rb", "lib/selenium/webdriver/common/core_ext/string.rb", "lib/selenium/webdriver/common/driver_extensions/has_browser_connection.rb", "lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb", "lib/selenium/webdriver/common/driver_extensions/has_location.rb", "lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb", "lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb", "lib/selenium/webdriver/common/driver_extensions/rotatable.rb", "lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb", "lib/selenium/webdriver/common/driver_extensions/uploads_files.rb", "lib/selenium/webdriver/common/html5/local_storage.rb", "lib/selenium/webdriver/common/html5/location.rb", "lib/selenium/webdriver/common/html5/session_storage.rb", "lib/selenium/webdriver/common/html5/shared_web_storage.rb", "lib/selenium/webdriver/firefox/binary.rb", "lib/selenium/webdriver/firefox/bridge.rb", "lib/selenium/webdriver/firefox/extension.rb", "lib/selenium/webdriver/firefox/launcher.rb", "lib/selenium/webdriver/firefox/profile.rb", "lib/selenium/webdriver/firefox/profiles_ini.rb", "lib/selenium/webdriver/firefox/socket_lock.rb", "lib/selenium/webdriver/firefox/util.rb", "lib/selenium/webdriver/firefox/extension/prefs.json", "lib/selenium/webdriver/firefox/extension/webdriver.xpi", "lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so", "lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so", "lib/selenium/webdriver/ie/bridge.rb", "lib/selenium/webdriver/ie/server.rb", "lib/selenium/webdriver/iphone/bridge.rb", "lib/selenium/webdriver/opera/bridge.rb", "lib/selenium/webdriver/opera/service.rb", "lib/selenium/webdriver/phantomjs/bridge.rb", "lib/selenium/webdriver/phantomjs/service.rb", "lib/selenium/webdriver/remote/bridge.rb", "lib/selenium/webdriver/remote/capabilities.rb", "lib/selenium/webdriver/remote/commands.rb", "lib/selenium/webdriver/remote/response.rb", "lib/selenium/webdriver/remote/server_error.rb", "lib/selenium/webdriver/remote/http/common.rb", "lib/selenium/webdriver/remote/http/curb.rb", "lib/selenium/webdriver/remote/http/default.rb", "lib/selenium/webdriver/remote/http/persistent.rb", "lib/selenium/webdriver/safari/bridge.rb", "lib/selenium/webdriver/safari/browser.rb", "lib/selenium/webdriver/safari/server.rb", "lib/selenium/webdriver/support/abstract_event_listener.rb", "lib/selenium/webdriver/support/block_event_listener.rb", "lib/selenium/webdriver/support/color.rb", "lib/selenium/webdriver/support/event_firing_bridge.rb", "lib/selenium/webdriver/support/select.rb", "CHANGES", "README", "COPYING"]11 s.homepage = %q{http://selenium.googlecode.com}12 s.require_paths = ["lib"]13 s.rubygems_version = %q{1.3.6}14 s.summary = %q{The next generation developer focused tool for automated testing of webapps}15 if s.respond_to? :specification_version then16 current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION17 s.specification_version = 318 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then19 s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])20 s.add_runtime_dependency(%q<rubyzip>, [">= 0"])21 s.add_runtime_dependency(%q<childprocess>, [">= 0.2.5"])22 s.add_runtime_dependency(%q<websocket>, ["~> 1.0.4"])23 s.add_development_dependency(%q<rspec>, ["~> 2.0"])24 s.add_development_dependency(%q<rack>, ["~> 1.0"])...
selenium-webdriver-2.5.0.gemspec
Source:selenium-webdriver-2.5.0.gemspec
...6 s.authors = ["Jari Bakken"]7 s.date = %q{2011-08-23}8 s.description = %q{WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application.}9 s.email = %q{jari.bakken@gmail.com}10 s.files = ["lib/selenium-client.rb", "lib/selenium-webdriver.rb", "lib/selenium/client.rb", "lib/selenium/server.rb", "lib/selenium/webdriver.rb", "lib/selenium/client/base.rb", "lib/selenium/client/driver.rb", "lib/selenium/client/errors.rb", "lib/selenium/client/extensions.rb", "lib/selenium/client/idiomatic.rb", "lib/selenium/client/javascript_expression_builder.rb", "lib/selenium/client/legacy_driver.rb", "lib/selenium/client/protocol.rb", "lib/selenium/client/selenium_helper.rb", "lib/selenium/client/javascript_frameworks/jquery.rb", "lib/selenium/client/javascript_frameworks/prototype.rb", "lib/selenium/rake/server_task.rb", "lib/selenium/webdriver/android.rb", "lib/selenium/webdriver/chrome.rb", "lib/selenium/webdriver/common.rb", "lib/selenium/webdriver/firefox.rb", "lib/selenium/webdriver/ie.rb", "lib/selenium/webdriver/iphone.rb", "lib/selenium/webdriver/opera.rb", "lib/selenium/webdriver/remote.rb", "lib/selenium/webdriver/support.rb", "lib/selenium/webdriver/android/bridge.rb", "lib/selenium/webdriver/chrome/bridge.rb", "lib/selenium/webdriver/chrome/profile.rb", "lib/selenium/webdriver/chrome/service.rb", "lib/selenium/webdriver/common/action_builder.rb", "lib/selenium/webdriver/common/alert.rb", "lib/selenium/webdriver/common/bridge_helper.rb", "lib/selenium/webdriver/common/driver.rb", "lib/selenium/webdriver/common/element.rb", "lib/selenium/webdriver/common/error.rb", "lib/selenium/webdriver/common/file_reaper.rb", "lib/selenium/webdriver/common/keyboard.rb", "lib/selenium/webdriver/common/keys.rb", "lib/selenium/webdriver/common/mouse.rb", "lib/selenium/webdriver/common/navigation.rb", "lib/selenium/webdriver/common/options.rb", "lib/selenium/webdriver/common/platform.rb", "lib/selenium/webdriver/common/port_prober.rb", "lib/selenium/webdriver/common/profile_helper.rb", "lib/selenium/webdriver/common/proxy.rb", "lib/selenium/webdriver/common/search_context.rb", "lib/selenium/webdriver/common/socket_poller.rb", "lib/selenium/webdriver/common/target_locator.rb", "lib/selenium/webdriver/common/timeouts.rb", "lib/selenium/webdriver/common/wait.rb", "lib/selenium/webdriver/common/zipper.rb", "lib/selenium/webdriver/common/core_ext/base64.rb", "lib/selenium/webdriver/common/core_ext/dir.rb", "lib/selenium/webdriver/common/core_ext/string.rb", "lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb", "lib/selenium/webdriver/common/driver_extensions/rotatable.rb", "lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb", "lib/selenium/webdriver/firefox/binary.rb", "lib/selenium/webdriver/firefox/bridge.rb", "lib/selenium/webdriver/firefox/extension.rb", "lib/selenium/webdriver/firefox/launcher.rb", "lib/selenium/webdriver/firefox/profile.rb", "lib/selenium/webdriver/firefox/profiles_ini.rb", "lib/selenium/webdriver/firefox/socket_lock.rb", "lib/selenium/webdriver/firefox/util.rb", "lib/selenium/webdriver/firefox/extension/webdriver.xpi", "lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so", "lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so", "lib/selenium/webdriver/ie/bridge.rb", "lib/selenium/webdriver/ie/server.rb", "lib/selenium/webdriver/ie/native/win32/IEDriver.dll", "lib/selenium/webdriver/ie/native/x64/IEDriver.dll", "lib/selenium/webdriver/iphone/bridge.rb", "lib/selenium/webdriver/opera/bridge.rb", "lib/selenium/webdriver/opera/service.rb", "lib/selenium/webdriver/remote/bridge.rb", "lib/selenium/webdriver/remote/capabilities.rb", "lib/selenium/webdriver/remote/commands.rb", "lib/selenium/webdriver/remote/response.rb", "lib/selenium/webdriver/remote/server_error.rb", "lib/selenium/webdriver/remote/http/common.rb", "lib/selenium/webdriver/remote/http/curb.rb", "lib/selenium/webdriver/remote/http/default.rb", "lib/selenium/webdriver/remote/http/persistent.rb", "lib/selenium/webdriver/support/abstract_event_listener.rb", "lib/selenium/webdriver/support/block_event_listener.rb", "lib/selenium/webdriver/support/event_firing_bridge.rb", "CHANGES", "README"]11 s.homepage = %q{http://selenium.googlecode.com}12 s.require_paths = ["lib"]13 s.rubygems_version = %q{1.3.7}14 s.summary = %q{The next generation developer focused tool for automated testing of webapps}15 if s.respond_to? :specification_version then16 current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION17 s.specification_version = 318 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then19 s.add_runtime_dependency(%q<json_pure>, [">= 0"])20 s.add_runtime_dependency(%q<rubyzip>, [">= 0"])21 s.add_runtime_dependency(%q<childprocess>, [">= 0.2.1"])22 s.add_runtime_dependency(%q<ffi>, [">= 1.0.7"])23 s.add_development_dependency(%q<rspec>, ["~> 2.0"])24 s.add_development_dependency(%q<rack>, ["~> 1.0"])...
selenium-webdriver-0.1.3.gemspec
Source:selenium-webdriver-0.1.3.gemspec
...6 s.authors = ["Jari Bakken"]7 s.date = %q{2011-02-13}8 s.description = %q{WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application.}9 s.email = %q{jari.bakken@gmail.com}10 s.files = ["lib/selenium-client.rb", "lib/selenium-webdriver.rb", "lib/selenium/client.rb", "lib/selenium/server.rb", "lib/selenium/webdriver.rb", "lib/selenium/client/base.rb", "lib/selenium/client/driver.rb", "lib/selenium/client/errors.rb", "lib/selenium/client/extensions.rb", "lib/selenium/client/idiomatic.rb", "lib/selenium/client/javascript_expression_builder.rb", "lib/selenium/client/legacy_driver.rb", "lib/selenium/client/protocol.rb", "lib/selenium/client/selenium_helper.rb", "lib/selenium/client/javascript_frameworks/jquery.rb", "lib/selenium/client/javascript_frameworks/prototype.rb", "lib/selenium/rake/server_task.rb", "lib/selenium/webdriver/android.rb", "lib/selenium/webdriver/chrome.rb", "lib/selenium/webdriver/common.rb", "lib/selenium/webdriver/firefox.rb", "lib/selenium/webdriver/ie.rb", "lib/selenium/webdriver/iphone.rb", "lib/selenium/webdriver/remote.rb", "lib/selenium/webdriver/android/bridge.rb", "lib/selenium/webdriver/chrome/bridge.rb", "lib/selenium/webdriver/chrome/command_executor.rb", "lib/selenium/webdriver/chrome/extension.zip", "lib/selenium/webdriver/chrome/launcher.rb", "lib/selenium/webdriver/common/alert.rb", "lib/selenium/webdriver/common/bridge_helper.rb", "lib/selenium/webdriver/common/driver.rb", "lib/selenium/webdriver/common/element.rb", "lib/selenium/webdriver/common/error.rb", "lib/selenium/webdriver/common/file_reaper.rb", "lib/selenium/webdriver/common/find.rb", "lib/selenium/webdriver/common/keyboard.rb", "lib/selenium/webdriver/common/keys.rb", "lib/selenium/webdriver/common/mouse.rb", "lib/selenium/webdriver/common/navigation.rb", "lib/selenium/webdriver/common/options.rb", "lib/selenium/webdriver/common/platform.rb", "lib/selenium/webdriver/common/proxy.rb", "lib/selenium/webdriver/common/socket_poller.rb", "lib/selenium/webdriver/common/target_locator.rb", "lib/selenium/webdriver/common/timeouts.rb", "lib/selenium/webdriver/common/wait.rb", "lib/selenium/webdriver/common/zipper.rb", "lib/selenium/webdriver/common/core_ext/dir.rb", "lib/selenium/webdriver/common/core_ext/string.rb", "lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb", "lib/selenium/webdriver/common/driver_extensions/rotatable.rb", "lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb", "lib/selenium/webdriver/firefox/binary.rb", "lib/selenium/webdriver/firefox/bridge.rb", "lib/selenium/webdriver/firefox/extension.rb", "lib/selenium/webdriver/firefox/launcher.rb", "lib/selenium/webdriver/firefox/profile.rb", "lib/selenium/webdriver/firefox/profiles_ini.rb", "lib/selenium/webdriver/firefox/socket_lock.rb", "lib/selenium/webdriver/firefox/util.rb", "lib/selenium/webdriver/firefox/extension/webdriver.xpi", "lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so", "lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so", "lib/selenium/webdriver/ie/bridge.rb", "lib/selenium/webdriver/ie/server.rb", "lib/selenium/webdriver/ie/native/win32/IEDriver.dll", "lib/selenium/webdriver/ie/native/x64/IEDriver.dll", "lib/selenium/webdriver/iphone/bridge.rb", "lib/selenium/webdriver/remote/bridge.rb", "lib/selenium/webdriver/remote/capabilities.rb", "lib/selenium/webdriver/remote/commands.rb", "lib/selenium/webdriver/remote/response.rb", "lib/selenium/webdriver/remote/server_error.rb", "lib/selenium/webdriver/remote/http/common.rb", "lib/selenium/webdriver/remote/http/curb.rb", "lib/selenium/webdriver/remote/http/default.rb", "lib/selenium/webdriver/remote/http/persistent.rb", "CHANGES", "README"]11 s.homepage = %q{http://selenium.googlecode.com}12 s.require_paths = ["lib"]13 s.rubygems_version = %q{1.4.2}14 s.summary = %q{The next generation developer focused tool for automated testing of webapps}15 if s.respond_to? :specification_version then16 s.specification_version = 317 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then18 s.add_runtime_dependency(%q<json_pure>, [">= 0"])19 s.add_runtime_dependency(%q<rubyzip>, [">= 0"])20 s.add_runtime_dependency(%q<childprocess>, ["~> 0.1.5"])21 s.add_runtime_dependency(%q<ffi>, ["~> 0.6.3"])22 s.add_development_dependency(%q<rspec>, ["~> 2.0"])23 s.add_development_dependency(%q<rack>, ["~> 1.0"])24 s.add_development_dependency(%q<ci_reporter>, ["~> 1.6.2"])...
common.rb
Source:common.rb
...11require 'selenium/webdriver/common/zipper'12require 'selenium/webdriver/common/wait'13require 'selenium/webdriver/common/alert'14require 'selenium/webdriver/common/mouse'15require 'selenium/webdriver/common/keyboard'16require 'selenium/webdriver/common/touch_screen'17require 'selenium/webdriver/common/target_locator'18require 'selenium/webdriver/common/navigation'19require 'selenium/webdriver/common/timeouts'20require 'selenium/webdriver/common/window'21require 'selenium/webdriver/common/logs'22require 'selenium/webdriver/common/options'23require 'selenium/webdriver/common/search_context'24require 'selenium/webdriver/common/action_builder'25require 'selenium/webdriver/common/touch_action_builder'26require 'selenium/webdriver/common/html5/shared_web_storage'27require 'selenium/webdriver/common/html5/local_storage'28require 'selenium/webdriver/common/html5/session_storage'29require 'selenium/webdriver/common/driver_extensions/takes_screenshot'...
keyboard
Using AI Code Generation
1element = driver.find_element(:name, 'q')2element = driver.find_element(:name, 'q')3element = driver.find_element(:name, 'q')4element = driver.find_element(:name, 'q')5element = driver.find_element(:name, 'q')
keyboard
Using AI Code Generation
1element = driver.find_element(:name, 'q')2element = driver.find_element(:name, 'q')3element = driver.find_element(:name, 'q')4element = driver.find_element(:name, 'q')5element = driver.find_element(:name, 'q')
keyboard
Using AI Code Generation
1input_element = driver.find_element(:name, "q")2stats = driver.find_element(:id, "resultStats")3input_element = driver.find_element(:name, "q")4stats = driver.find_element(:id, "resultStats")5input_element = driver.find_element(:name, "q")6stats = driver.find_element(:id,
keyboard
Using AI Code Generation
1driver.action.send_keys("Selenium").perform2driver.action.send_keys("Selenium").perform3driver.action.send_keys(:enter).perform4driver.action.send_keys("Selenium").perform5driver.action.send_keys(:enter).perform6driver.action.send_keys("Selenium WebDriver").perform7driver.action.send_keys(:enter).perform8driver.action.send_keys("Selenium").perform9driver.action.send_keys(:enter).perform10driver.action.send_keys("Selenium WebDriver").perform11driver.action.send_keys(:enter).perform12driver.action.send_keys("Selenium WebDriver Ruby").perform13driver.action.send_keys(:enter).perform
keyboard
Using AI Code Generation
1element = driver.find_element(:name, 'q')2wait = Selenium::WebDriver::Wait.new(:timeout => 10)3wait.until { driver.title.downcase.start_with? 'cheese' }4button = driver.find_element(:id, "button_id")5button = driver.find_element(:id, "button_id")6button = driver.find_element(:id, "button_id")7driver.action.send_keys(:enter).perform8button = driver.find_element(:id, "button_id")9driver.execute_script("arguments[0].click();", button)10button = driver.find_element(:id, "div_id")11button = driver.find_element(:id, "div_id")12button = driver.find_element(:id, "div_id")13driver.action.send_keys(:enter).perform14button = driver.find_element(:id, "div_id")15driver.execute_script("arguments[0].click();", button)
keyboard
Using AI Code Generation
1element = driver.find_element(:name, 'q')2element = driver.find_element(:name, 'q')3element = driver.find_element(:name, 'q')4element = driver.find_element(:name, 'q')5element = driver.find_element(:name, 'q')
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!