How to use initialize method of Selenium.WebDriver.HTML5 Package

Best Selenium code snippet using Selenium.WebDriver.HTML5.initialize

selenium-webdriver@3.142.7.rbi

Source:selenium-webdriver@3.142.7.rbi Github

copy

Full Screen

...11 def root; end12 end13end14class Selenium::WebDriver::ActionBuilder15 def initialize(mouse, keyboard); end16 def click(element = T.unsafe(nil)); end17 def click_and_hold(element = T.unsafe(nil)); end18 def context_click(element = T.unsafe(nil)); end19 def double_click(element = T.unsafe(nil)); end20 def drag_and_drop(source, target); end21 def drag_and_drop_by(source, right_by, down_by); end22 def key_down(*args); end23 def key_up(*args); end24 def move_by(right_by, down_by); end25 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil)); end26 def perform; end27 def release(element = T.unsafe(nil)); end28 def send_keys(*args); end29end30class Selenium::WebDriver::Alert31 def initialize(bridge); end32 def accept; end33 def dismiss; end34 def send_keys(keys); end35 def text; end36end37module Selenium::WebDriver::Atoms38 private39 def execute_atom(function_name, *arguments); end40 def read_atom(function); end41end42module Selenium::WebDriver::BridgeHelper43 def element_id_from(id); end44 def parse_cookie_string(str); end45 def unwrap_script_result(arg); end46end47module Selenium::WebDriver::Chrome48 class << self49 def driver_path; end50 def driver_path=(path); end51 def path; end52 def path=(path); end53 end54end55module Selenium::WebDriver::Chrome::Bridge56 def available_log_types; end57 def commands(command); end58 def log(type); end59 def network_conditions; end60 def network_conditions=(conditions); end61 def send_command(command_params); end62end63Selenium::WebDriver::Chrome::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)64class Selenium::WebDriver::Chrome::Driver < ::Selenium::WebDriver::Driver65 include(::Selenium::WebDriver::DriverExtensions::HasNetworkConditions)66 include(::Selenium::WebDriver::DriverExtensions::HasTouchScreen)67 include(::Selenium::WebDriver::DriverExtensions::HasWebStorage)68 include(::Selenium::WebDriver::DriverExtensions::HasLocation)69 include(::Selenium::WebDriver::DriverExtensions::TakesScreenshot)70 include(::Selenium::WebDriver::DriverExtensions::DownloadsFiles)71 def initialize(opts = T.unsafe(nil)); end72 def browser; end73 def execute_cdp(cmd, **params); end74 def quit; end75 private76 def create_capabilities(opts); end77end78class Selenium::WebDriver::Chrome::Options < ::Selenium::WebDriver::Common::Options79 def initialize(**opts); end80 def add_argument(arg); end81 def add_emulation(device_name: T.unsafe(nil), device_metrics: T.unsafe(nil), user_agent: T.unsafe(nil)); end82 def add_encoded_extension(encoded); end83 def add_extension(path); end84 def add_option(name, value); end85 def add_preference(name, value); end86 def args; end87 def as_json(*_); end88 def binary; end89 def binary=(_); end90 def detach; end91 def detach=(_); end92 def emulation; end93 def encoded_extensions; end94 def extensions; end95 def headless!; end96 def options; end97 def prefs; end98 def profile; end99 def profile=(_); end100end101Selenium::WebDriver::Chrome::Options::KEY = T.let(T.unsafe(nil), String)102class Selenium::WebDriver::Chrome::Profile103 include(::Selenium::WebDriver::ProfileHelper)104 extend(::Selenium::WebDriver::ProfileHelper::ClassMethods)105 def initialize(model = T.unsafe(nil)); end106 def [](key); end107 def []=(key, value); end108 def add_encoded_extension(encoded); end109 def add_extension(path); end110 def as_json(*_); end111 def directory; end112 def layout_on_disk; end113 private114 def prefs; end115 def prefs_file_for(dir); end116 def read_model_prefs; end117 def write_prefs_to(dir); end118end119class Selenium::WebDriver::Chrome::Service < ::Selenium::WebDriver::Service120 private121 def extract_service_args(driver_opts); end122 class << self123 def driver_path=(path); end124 end125end126module Selenium::WebDriver::Common127end128class Selenium::WebDriver::Common::Options129 private130 def camel_case(str); end131 def convert_json_key(key); end132 def generate_as_json(value); end133end134class Selenium::WebDriver::Dimension < ::Struct135 def height; end136 def height=(_); end137 def width; end138 def width=(_); end139 class << self140 def [](*_); end141 def inspect; end142 def members; end143 def new(*_); end144 end145end146class Selenium::WebDriver::Driver147 include(::Selenium::WebDriver::SearchContext)148 def initialize(bridge, listener: T.unsafe(nil)); end149 def [](sel); end150 def action; end151 def all(*args); end152 def browser; end153 def capabilities; end154 def close; end155 def current_url; end156 def execute_async_script(script, *args); end157 def execute_script(script, *args); end158 def first(*args); end159 def get(url); end160 def inspect; end161 def keyboard; end162 def manage; end163 def mouse; end164 def navigate; end165 def page_source; end166 def quit; end167 def ref; end168 def script(script, *args); end169 def switch_to; end170 def title; end171 def window_handle; end172 def window_handles; end173 private174 def bridge; end175 def service_url(opts); end176 class << self177 def for(browser, opts = T.unsafe(nil)); end178 end179end180module Selenium::WebDriver::DriverExtensions181end182module Selenium::WebDriver::DriverExtensions::DownloadsFiles183 def download_path=(path); end184end185module Selenium::WebDriver::DriverExtensions::HasAddons186 def install_addon(path, temporary = T.unsafe(nil)); end187 def uninstall_addon(id); end188end189module Selenium::WebDriver::DriverExtensions::HasDebugger190 def attach_debugger; end191end192module Selenium::WebDriver::DriverExtensions::HasLocation193 def location; end194 def location=(loc); end195 def set_location(lat, lon, alt); end196end197module Selenium::WebDriver::DriverExtensions::HasNetworkConditions198 def network_conditions; end199 def network_conditions=(conditions); end200end201module Selenium::WebDriver::DriverExtensions::HasNetworkConnection202 def network_connection_type; end203 def network_connection_type=(connection_type); end204 private205 def type_to_values; end206 def valid_type?(type); end207 def values_to_type; end208end209module Selenium::WebDriver::DriverExtensions::HasPermissions210 def permissions; end211 def permissions=(permissions); end212end213module Selenium::WebDriver::DriverExtensions::HasRemoteStatus214 def remote_status; end215end216module Selenium::WebDriver::DriverExtensions::HasSessionId217 def session_id; end218end219module Selenium::WebDriver::DriverExtensions::HasTouchScreen220 def touch; end221 private222 def touch_screen; end223end224module Selenium::WebDriver::DriverExtensions::HasWebStorage225 def local_storage; end226 def session_storage; end227end228module Selenium::WebDriver::DriverExtensions::Rotatable229 def orientation; end230 def rotate(orientation); end231 def rotation=(orientation); end232end233Selenium::WebDriver::DriverExtensions::Rotatable::ORIENTATIONS = T.let(T.unsafe(nil), Array)234module Selenium::WebDriver::DriverExtensions::TakesScreenshot235 def save_screenshot(png_path); end236 def screenshot_as(format); end237end238module Selenium::WebDriver::DriverExtensions::UploadsFiles239 def file_detector=(detector); end240end241module Selenium::WebDriver::Edge242 class << self243 def driver_path; end244 def driver_path=(path); end245 end246end247module Selenium::WebDriver::Edge::Bridge248 def commands(command); end249 def maximize_window(handle = T.unsafe(nil)); end250 def reposition_window(x, y, handle = T.unsafe(nil)); end251 def resize_window(width, height, handle = T.unsafe(nil)); end252 def send_keys_to_active_element(key); end253 def window_handle; end254 def window_position(handle = T.unsafe(nil)); end255 def window_size(handle = T.unsafe(nil)); end256end257class Selenium::WebDriver::Edge::Driver < ::Selenium::WebDriver::Driver258 include(::Selenium::WebDriver::DriverExtensions::TakesScreenshot)259 def initialize(opts = T.unsafe(nil)); end260 def browser; end261 def quit; end262end263class Selenium::WebDriver::Edge::Options264 def initialize(**opts); end265 def add_extension_path(path); end266 def as_json(*_); end267 def extension_paths; end268 def in_private; end269 def in_private=(_); end270 def start_page; end271 def start_page=(_); end272end273class Selenium::WebDriver::Edge::Service < ::Selenium::WebDriver::Service274 private275 def extract_service_args(driver_opts); end276end277class Selenium::WebDriver::Element278 include(::Selenium::WebDriver::SearchContext)279 def initialize(bridge, id); end280 def ==(other); end281 def [](name); end282 def all(*args); end283 def as_json(*_); end284 def attribute(name); end285 def clear; end286 def click; end287 def css_value(prop); end288 def displayed?; end289 def enabled?; end290 def eql?(other); end291 def first(*args); end292 def hash; end293 def inspect; end294 def location; end295 def location_once_scrolled_into_view; end296 def property(name); end297 def rect; end298 def ref; end299 def selected?; end300 def send_key(*args); end301 def send_keys(*args); end302 def size; end303 def style(prop); end304 def submit; end305 def tag_name; end306 def text; end307 def to_json(*_); end308 private309 def bridge; end310 def selectable?; end311end312module Selenium::WebDriver::Error313 class << self314 def const_missing(const_name); end315 def for_code(code); end316 end317end318Selenium::WebDriver::Error::DEPRECATED_ERRORS = T.let(T.unsafe(nil), Hash)319Selenium::WebDriver::Error::ERRORS = T.let(T.unsafe(nil), Hash)320class Selenium::WebDriver::Error::ElementClickInterceptedError < ::Selenium::WebDriver::Error::WebDriverError321end322class Selenium::WebDriver::Error::ElementNotInteractableError < ::Selenium::WebDriver::Error::WebDriverError323end324class Selenium::WebDriver::Error::InsecureCertificateError < ::Selenium::WebDriver::Error::WebDriverError325end326class Selenium::WebDriver::Error::InvalidArgumentError < ::Selenium::WebDriver::Error::WebDriverError327end328class Selenium::WebDriver::Error::InvalidCookieDomainError < ::Selenium::WebDriver::Error::WebDriverError329end330class Selenium::WebDriver::Error::InvalidSelectorError < ::Selenium::WebDriver::Error::WebDriverError331end332class Selenium::WebDriver::Error::InvalidSessionIdError < ::Selenium::WebDriver::Error::WebDriverError333end334class Selenium::WebDriver::Error::JavascriptError < ::Selenium::WebDriver::Error::WebDriverError335end336class Selenium::WebDriver::Error::MoveTargetOutOfBoundsError < ::Selenium::WebDriver::Error::WebDriverError337end338class Selenium::WebDriver::Error::NoSuchAlertError < ::Selenium::WebDriver::Error::WebDriverError339end340class Selenium::WebDriver::Error::NoSuchCookieError < ::Selenium::WebDriver::Error::WebDriverError341end342class Selenium::WebDriver::Error::NoSuchElementError < ::Selenium::WebDriver::Error::WebDriverError343end344class Selenium::WebDriver::Error::NoSuchFrameError < ::Selenium::WebDriver::Error::WebDriverError345end346class Selenium::WebDriver::Error::NoSuchWindowError < ::Selenium::WebDriver::Error::WebDriverError347end348class Selenium::WebDriver::Error::NullPointerError < ::Selenium::WebDriver::Error::WebDriverError349end350class Selenium::WebDriver::Error::ScriptTimeoutError < ::Selenium::WebDriver::Error::WebDriverError351end352class Selenium::WebDriver::Error::SessionNotCreatedError < ::Selenium::WebDriver::Error::WebDriverError353end354class Selenium::WebDriver::Error::StaleElementReferenceError < ::Selenium::WebDriver::Error::WebDriverError355end356class Selenium::WebDriver::Error::TimeoutError < ::Selenium::WebDriver::Error::WebDriverError357end358class Selenium::WebDriver::Error::UnableToCaptureScreenError < ::Selenium::WebDriver::Error::WebDriverError359end360class Selenium::WebDriver::Error::UnableToSetCookieError < ::Selenium::WebDriver::Error::WebDriverError361end362class Selenium::WebDriver::Error::UnexpectedAlertOpenError < ::Selenium::WebDriver::Error::WebDriverError363end364class Selenium::WebDriver::Error::UnknownCommandError < ::Selenium::WebDriver::Error::WebDriverError365end366class Selenium::WebDriver::Error::UnknownError < ::Selenium::WebDriver::Error::WebDriverError367end368class Selenium::WebDriver::Error::UnknownMethodError < ::Selenium::WebDriver::Error::WebDriverError369end370class Selenium::WebDriver::Error::UnsupportedOperationError < ::Selenium::WebDriver::Error::WebDriverError371end372class Selenium::WebDriver::Error::WebDriverError < ::StandardError373end374module Selenium::WebDriver::FileReaper375 class << self376 def <<(file); end377 def reap(file); end378 def reap!; end379 def reap=(_); end380 def reap?; end381 def tmp_files; end382 end383end384module Selenium::WebDriver::Firefox385 class << self386 def driver_path; end387 def driver_path=(path); end388 def path=(path); end389 end390end391class Selenium::WebDriver::Firefox::Binary392 def quit; end393 def start_with(profile, profile_path, *args); end394 def wait; end395 private396 def execute(*extra_args); end397 def modify_link_library_path(profile_path); end398 class << self399 def path; end400 def path=(path); end401 def reset_path!; end402 def version; end403 private404 def macosx_path; end405 def windows_path; end406 def windows_registry_path; end407 end408end409Selenium::WebDriver::Firefox::Binary::NO_FOCUS_LIBRARIES = T.let(T.unsafe(nil), Array)410Selenium::WebDriver::Firefox::Binary::NO_FOCUS_LIBRARY_NAME = T.let(T.unsafe(nil), String)411Selenium::WebDriver::Firefox::Binary::QUIT_TIMEOUT = T.let(T.unsafe(nil), Integer)412Selenium::WebDriver::Firefox::Binary::WAIT_TIMEOUT = T.let(T.unsafe(nil), Integer)413Selenium::WebDriver::Firefox::DEFAULT_ASSUME_UNTRUSTED_ISSUER = T.let(T.unsafe(nil), TrueClass)414Selenium::WebDriver::Firefox::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)415module Selenium::WebDriver::Firefox::Driver416 class << self417 def new(**opts); end418 private419 def marionette?(opts); end420 end421end422class Selenium::WebDriver::Firefox::Extension423 def initialize(path); end424 def write_to(extensions_dir); end425 private426 def create_root; end427 def read_id(directory); end428 def read_id_from_install_rdf(directory); end429 def read_id_from_manifest_json(directory); end430end431Selenium::WebDriver::Firefox::Extension::NAMESPACE = T.let(T.unsafe(nil), String)432class Selenium::WebDriver::Firefox::Launcher433 def initialize(binary, port, profile = T.unsafe(nil)); end434 def assert_profile; end435 def connect_until_stable; end436 def create_profile; end437 def fetch_profile; end438 def find_free_port; end439 def launch; end440 def quit; end441 def socket_lock; end442 def start; end443 def url; end444end445Selenium::WebDriver::Firefox::Launcher::SOCKET_LOCK_TIMEOUT = T.let(T.unsafe(nil), Integer)446Selenium::WebDriver::Firefox::Launcher::STABLE_CONNECTION_TIMEOUT = T.let(T.unsafe(nil), Integer)447module Selenium::WebDriver::Firefox::Legacy448end449class Selenium::WebDriver::Firefox::Legacy::Driver < ::Selenium::WebDriver::Driver450 include(::Selenium::WebDriver::DriverExtensions::TakesScreenshot)451 def initialize(opts = T.unsafe(nil)); end452 def browser; end453 def quit; end454end455module Selenium::WebDriver::Firefox::Marionette456end457module Selenium::WebDriver::Firefox::Marionette::Bridge458 def commands(command); end459 def install_addon(path, temporary); end460 def uninstall_addon(id); end461end462Selenium::WebDriver::Firefox::Marionette::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)463class Selenium::WebDriver::Firefox::Marionette::Driver < ::Selenium::WebDriver::Driver464 include(::Selenium::WebDriver::DriverExtensions::HasAddons)465 include(::Selenium::WebDriver::DriverExtensions::HasWebStorage)466 include(::Selenium::WebDriver::DriverExtensions::TakesScreenshot)467 def initialize(opts = T.unsafe(nil)); end468 def browser; end469 def quit; end470 private471 def create_capabilities(opts); end472end473class Selenium::WebDriver::Firefox::Options < ::Selenium::WebDriver::Common::Options474 def initialize(**opts); end475 def add_argument(arg); end476 def add_option(name, value); end477 def add_preference(name, value); end478 def args; end479 def as_json(*_); end480 def binary; end481 def binary=(_); end482 def headless!; end483 def log_level; end484 def log_level=(_); end485 def options; end486 def prefs; end487 def profile; end488 def profile=(profile); end489 private490 def process_profile(profile); end491end492Selenium::WebDriver::Firefox::Options::KEY = T.let(T.unsafe(nil), String)493class Selenium::WebDriver::Firefox::Profile494 include(::Selenium::WebDriver::ProfileHelper)495 extend(::Selenium::WebDriver::ProfileHelper::ClassMethods)496 def initialize(model = T.unsafe(nil)); end497 def []=(key, value); end498 def add_extension(path, name = T.unsafe(nil)); end499 def add_webdriver_extension; end500 def assume_untrusted_certificate_issuer=(bool); end501 def assume_untrusted_certificate_issuer?; end502 def encoded; end503 def layout_on_disk; end504 def load_no_focus_lib=(_); end505 def load_no_focus_lib?; end506 def log_file; end507 def log_file=(file); end508 def name; end509 def native_events=(_); end510 def native_events?; end511 def port=(port); end512 def proxy=(proxy); end513 def secure_ssl=(_); end514 def secure_ssl?; end515 private516 def delete_extensions_cache(directory); end517 def delete_lock_files(directory); end518 def extension_name_for(path); end519 def install_extensions(directory); end520 def read_model_prefs; end521 def read_user_prefs(path); end522 def set_manual_proxy_preference(key, value); end523 def update_user_prefs_in(directory); end524 def write_prefs(prefs, path); end525 class << self526 def default_preferences; end527 def from_name(name); end528 def ini; end529 end530end531Selenium::WebDriver::Firefox::Profile::VALID_PREFERENCE_TYPES = T.let(T.unsafe(nil), Array)532Selenium::WebDriver::Firefox::Profile::WEBDRIVER_EXTENSION_PATH = T.let(T.unsafe(nil), String)533Selenium::WebDriver::Firefox::Profile::WEBDRIVER_PREFS = T.let(T.unsafe(nil), Hash)534class Selenium::WebDriver::Firefox::ProfilesIni535 def initialize; end536 def [](name); end537 def refresh; end538 private539 def parse; end540 def path_for(name, is_relative, path); end541end542class Selenium::WebDriver::Firefox::Service < ::Selenium::WebDriver::Service543 private544 def extract_service_args(driver_opts); end545end546module Selenium::WebDriver::Firefox::Util547 private548 def app_data_path; end549 def stringified?(str); end550 class << self551 def app_data_path; end552 def stringified?(str); end553 end554end555module Selenium::WebDriver::HTML5556end557class Selenium::WebDriver::HTML5::LocalStorage558 include(::Enumerable)559 include(::Selenium::WebDriver::HTML5::SharedWebStorage)560 def initialize(bridge); end561 def [](key); end562 def []=(key, value); end563 def clear; end564 def delete(key); end565 def keys; end566 def size; end567end568class Selenium::WebDriver::HTML5::SessionStorage569 include(::Enumerable)570 include(::Selenium::WebDriver::HTML5::SharedWebStorage)571 def initialize(bridge); end572 def [](key); end573 def []=(key, value); end574 def clear; end575 def delete(key); end576 def keys; end577 def size; end578end579module Selenium::WebDriver::HTML5::SharedWebStorage580 include(::Enumerable)581 def each; end582 def empty?; end583 def fetch(key); end584 def has_key?(key); end585 def key?(key); end586 def member?(key); end587end588module Selenium::WebDriver::IE589 class << self590 def driver_path; end591 def driver_path=(path); end592 end593end594class Selenium::WebDriver::IE::Driver < ::Selenium::WebDriver::Driver595 include(::Selenium::WebDriver::DriverExtensions::HasWebStorage)596 include(::Selenium::WebDriver::DriverExtensions::TakesScreenshot)597 def initialize(opts = T.unsafe(nil)); end598 def browser; end599 def quit; end600 private601 def create_capabilities(opts); end602end603class Selenium::WebDriver::IE::Options < ::Selenium::WebDriver::Common::Options604 def initialize(**opts); end605 def add_argument(arg); end606 def add_option(name, value); end607 def args; end608 def as_json(*_); end609 def browser_attach_timeout; end610 def browser_attach_timeout=(value); end611 def element_scroll_behavior; end612 def element_scroll_behavior=(value); end613 def ensure_clean_session; end614 def ensure_clean_session=(value); end615 def file_upload_dialog_timeout; end616 def file_upload_dialog_timeout=(value); end617 def force_create_process_api; end618 def force_create_process_api=(value); end619 def force_shell_windows_api; end620 def force_shell_windows_api=(value); end621 def full_page_screenshot; end622 def full_page_screenshot=(value); end623 def ignore_protected_mode_settings; end624 def ignore_protected_mode_settings=(value); end625 def ignore_zoom_level; end626 def ignore_zoom_level=(value); end627 def initial_browser_url; end628 def initial_browser_url=(value); end629 def native_events; end630 def native_events=(value); end631 def options; end632 def persistent_hover; end633 def persistent_hover=(value); end634 def require_window_focus; end635 def require_window_focus=(value); end636 def use_per_process_proxy; end637 def use_per_process_proxy=(value); end638 def validate_cookie_document_type; end639 def validate_cookie_document_type=(value); end640end641Selenium::WebDriver::IE::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)642Selenium::WebDriver::IE::Options::KEY = T.let(T.unsafe(nil), String)643Selenium::WebDriver::IE::Options::SCROLL_BOTTOM = T.let(T.unsafe(nil), Integer)644Selenium::WebDriver::IE::Options::SCROLL_TOP = T.let(T.unsafe(nil), Integer)645class Selenium::WebDriver::IE::Service < ::Selenium::WebDriver::Service646 private647 def extract_service_args(driver_opts); end648end649module Selenium::WebDriver::Interactions650 class << self651 def key(name); end652 def none(name = T.unsafe(nil)); end653 def pointer(kind, **kwargs); end654 end655end656class Selenium::WebDriver::Interactions::InputDevice657 def initialize(name = T.unsafe(nil)); end658 def actions; end659 def add_action(action); end660 def clear_actions; end661 def create_pause(duration = T.unsafe(nil)); end662 def name; end663 def no_actions?; end664end665class Selenium::WebDriver::Interactions::Interaction666 def initialize(source); end667 def source; end668end669Selenium::WebDriver::Interactions::Interaction::PAUSE = T.let(T.unsafe(nil), Symbol)670Selenium::WebDriver::Interactions::KEY = T.let(T.unsafe(nil), Symbol)671class Selenium::WebDriver::Interactions::KeyInput < ::Selenium::WebDriver::Interactions::InputDevice672 def create_key_down(key); end673 def create_key_up(key); end674 def encode; end675 def type; end676end677Selenium::WebDriver::Interactions::KeyInput::SUBTYPES = T.let(T.unsafe(nil), Hash)678class Selenium::WebDriver::Interactions::KeyInput::TypingInteraction < ::Selenium::WebDriver::Interactions::Interaction679 def initialize(source, type, key); end680 def assert_type(type); end681 def encode; end682 def type; end683end684Selenium::WebDriver::Interactions::NONE = T.let(T.unsafe(nil), Symbol)685class Selenium::WebDriver::Interactions::NoneInput < ::Selenium::WebDriver::Interactions::InputDevice686 def encode; end687 def type; end688end689Selenium::WebDriver::Interactions::POINTER = T.let(T.unsafe(nil), Symbol)690class Selenium::WebDriver::Interactions::Pause < ::Selenium::WebDriver::Interactions::Interaction691 def initialize(source, duration = T.unsafe(nil)); end692 def encode; end693 def type; end694end695class Selenium::WebDriver::Interactions::PointerCancel < ::Selenium::WebDriver::Interactions::Interaction696 def encode; end697 def type; end698end699class Selenium::WebDriver::Interactions::PointerInput < ::Selenium::WebDriver::Interactions::InputDevice700 def initialize(kind, name: T.unsafe(nil)); end701 def assert_kind(pointer); end702 def create_pointer_cancel; end703 def create_pointer_down(button); end704 def create_pointer_move(duration: T.unsafe(nil), x: T.unsafe(nil), y: T.unsafe(nil), element: T.unsafe(nil), origin: T.unsafe(nil)); end705 def create_pointer_up(button); end706 def encode; end707 def kind; end708 def type; end709end710Selenium::WebDriver::Interactions::PointerInput::KIND = T.let(T.unsafe(nil), Hash)711class Selenium::WebDriver::Interactions::PointerMove < ::Selenium::WebDriver::Interactions::Interaction712 def initialize(source, duration, x, y, element: T.unsafe(nil), origin: T.unsafe(nil)); end713 def encode; end714 def type; end715end716Selenium::WebDriver::Interactions::PointerMove::ORIGINS = T.let(T.unsafe(nil), Array)717Selenium::WebDriver::Interactions::PointerMove::POINTER = T.let(T.unsafe(nil), Symbol)718Selenium::WebDriver::Interactions::PointerMove::VIEWPORT = T.let(T.unsafe(nil), Symbol)719class Selenium::WebDriver::Interactions::PointerPress < ::Selenium::WebDriver::Interactions::Interaction720 def initialize(source, direction, button); end721 def assert_button(button); end722 def assert_direction(direction); end723 def encode; end724 def type; end725end726Selenium::WebDriver::Interactions::PointerPress::BUTTONS = T.let(T.unsafe(nil), Hash)727Selenium::WebDriver::Interactions::PointerPress::DIRECTIONS = T.let(T.unsafe(nil), Hash)728Selenium::WebDriver::Interactions::SOURCE_TYPES = T.let(T.unsafe(nil), Array)729module Selenium::WebDriver::KeyActions730 def key_down(*args, device: T.unsafe(nil)); end731 def key_up(*args, device: T.unsafe(nil)); end732 def send_keys(*args, device: T.unsafe(nil)); end733 private734 def key_action(*args, action: T.unsafe(nil), device: T.unsafe(nil)); end735end736class Selenium::WebDriver::Keyboard737 def initialize(bridge); end738 def press(key); end739 def release(key); end740 def send_keys(*keys); end741 private742 def assert_modifier(key); end743end744Selenium::WebDriver::Keyboard::MODIFIERS = T.let(T.unsafe(nil), Array)745module Selenium::WebDriver::Keys746 class << self747 def [](key); end748 def encode(keys); end749 def encode_key(key); end750 end751end752Selenium::WebDriver::Keys::KEYS = T.let(T.unsafe(nil), Hash)753class Selenium::WebDriver::Location < ::Struct754 def altitude; end755 def altitude=(_); end756 def latitude; end757 def latitude=(_); end758 def longitude; end759 def longitude=(_); end760 class << self761 def [](*_); end762 def inspect; end763 def members; end764 def new(*_); end765 end766end767class Selenium::WebDriver::LogEntry768 def initialize(level, timestamp, message); end769 def as_json(*_); end770 def level; end771 def message; end772 def time; end773 def timestamp; end774 def to_s; end775end776class Selenium::WebDriver::Logger777 extend(::Forwardable)778 def initialize; end779 def close(*args, &block); end780 def debug(*args, &block); end781 def debug?(*args, &block); end782 def deprecate(old, new = T.unsafe(nil)); end783 def error(*args, &block); end784 def error?(*args, &block); end785 def fatal(*args, &block); end786 def fatal?(*args, &block); end787 def info(*args, &block); end788 def info?(*args, &block); end789 def io; end790 def level(*args, &block); end791 def level=(*args, &block); end792 def output=(io); end793 def warn(*args, &block); end794 def warn?(*args, &block); end795 private796 def create_logger(output); end797 def default_level; end798end799class Selenium::WebDriver::Logs800 def initialize(bridge); end801 def available_types; end802 def get(type); end803end804class Selenium::WebDriver::Manager805 def initialize(bridge); end806 def add_cookie(opts = T.unsafe(nil)); end807 def all_cookies; end808 def cookie_named(name); end809 def delete_all_cookies; end810 def delete_cookie(name); end811 def logs; end812 def new_window(type = T.unsafe(nil)); end813 def timeouts; end814 def window; end815 private816 def convert_cookie(cookie); end817 def datetime_at(int); end818 def seconds_from(obj); end819 def strip_port(str); end820end821Selenium::WebDriver::Manager::SECONDS_PER_DAY = T.let(T.unsafe(nil), Float)822class Selenium::WebDriver::Mouse823 def initialize(bridge); end824 def click(element = T.unsafe(nil)); end825 def context_click(element = T.unsafe(nil)); end826 def double_click(element = T.unsafe(nil)); end827 def down(element = T.unsafe(nil)); end828 def move_by(right_by, down_by); end829 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil)); end830 def up(element = T.unsafe(nil)); end831 private832 def assert_element(element); end833 def move_if_needed(element); end834end835class Selenium::WebDriver::Navigation836 def initialize(bridge); end837 def back; end838 def forward; end839 def refresh; end840 def to(url); end841end842module Selenium::WebDriver::Platform843 private844 def assert_executable(path); end845 def assert_file(path); end846 def bitsize; end847 def ci; end848 def cygwin?; end849 def cygwin_path(path, **opts); end850 def engine; end851 def exit_hook; end852 def find_binary(*binary_names); end853 def find_in_program_files(*binary_names); end854 def home; end855 def interfaces; end856 def ip; end857 def jruby?; end858 def linux?; end859 def localhost; end860 def mac?; end861 def make_writable(file); end862 def null_device; end863 def os; end864 def ruby_version; end865 def unix_path(path); end866 def windows?; end867 def windows_path(path); end868 def wrap_in_quotes_if_necessary(str); end869 def wsl?; end870 class << self871 def assert_executable(path); end872 def assert_file(path); end873 def bitsize; end874 def ci; end875 def cygwin?; end876 def cygwin_path(path, **opts); end877 def engine; end878 def exit_hook; end879 def find_binary(*binary_names); end880 def find_in_program_files(*binary_names); end881 def home; end882 def interfaces; end883 def ip; end884 def jruby?; end885 def linux?; end886 def localhost; end887 def mac?; end888 def make_writable(file); end889 def null_device; end890 def os; end891 def ruby_version; end892 def unix_path(path); end893 def windows?; end894 def windows_path(path); end895 def wrap_in_quotes_if_necessary(str); end896 def wsl?; end897 end898end899class Selenium::WebDriver::Point < ::Struct900 def x; end901 def x=(_); end902 def y; end903 def y=(_); end904 class << self905 def [](*_); end906 def inspect; end907 def members; end908 def new(*_); end909 end910end911module Selenium::WebDriver::PointerActions912 def click(element = T.unsafe(nil), device: T.unsafe(nil)); end913 def click_and_hold(element = T.unsafe(nil), device: T.unsafe(nil)); end914 def context_click(element = T.unsafe(nil), device: T.unsafe(nil)); end915 def default_move_duration; end916 def default_move_duration=(_); end917 def double_click(element = T.unsafe(nil), device: T.unsafe(nil)); end918 def drag_and_drop(source, target, device: T.unsafe(nil)); end919 def drag_and_drop_by(source, right_by, down_by, device: T.unsafe(nil)); end920 def move_by(right_by, down_by, device: T.unsafe(nil)); end921 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil), device: T.unsafe(nil)); end922 def move_to_location(x, y, device: T.unsafe(nil)); end923 def pointer_down(button, device: T.unsafe(nil)); end924 def pointer_up(button, device: T.unsafe(nil)); end925 def release(device: T.unsafe(nil)); end926 private927 def button_action(button, action: T.unsafe(nil), device: T.unsafe(nil)); end928 def get_pointer(device = T.unsafe(nil)); end929end930class Selenium::WebDriver::PortProber931 class << self932 def above(port); end933 def free?(port); end934 end935end936Selenium::WebDriver::PortProber::IGNORED_ERRORS = T.let(T.unsafe(nil), Array)937module Selenium::WebDriver::ProfileHelper938 mixes_in_class_methods(::Selenium::WebDriver::ProfileHelper::ClassMethods)939 def as_json(*_); end940 def to_json(*_); end941 private942 def create_tmp_copy(directory); end943 def verify_model(model); end944 class << self945 def included(base); end946 end947end948module Selenium::WebDriver::ProfileHelper::ClassMethods949 def from_json(json); end950end951class Selenium::WebDriver::Proxy952 def initialize(opts = T.unsafe(nil)); end953 def ==(other); end954 def as_json(*_); end955 def auto_detect; end956 def auto_detect=(bool); end957 def eql?(other); end958 def ftp; end959 def ftp=(value); end960 def http; end961 def http=(value); end962 def no_proxy; end963 def no_proxy=(value); end964 def pac; end965 def pac=(url); end966 def socks; end967 def socks=(value); end968 def socks_password; end969 def socks_password=(value); end970 def socks_username; end971 def socks_username=(value); end972 def socks_version; end973 def socks_version=(value); end974 def ssl; end975 def ssl=(value); end976 def to_json(*_); end977 def type; end978 def type=(type); end979 class << self980 def json_create(data); end981 end982end983Selenium::WebDriver::Proxy::ALLOWED = T.let(T.unsafe(nil), Hash)984Selenium::WebDriver::Proxy::TYPES = T.let(T.unsafe(nil), Hash)985class Selenium::WebDriver::Rectangle < ::Struct986 def height; end987 def height=(_); end988 def width; end989 def width=(_); end990 def x; end991 def x=(_); end992 def y; end993 def y=(_); end994 class << self995 def [](*_); end996 def inspect; end997 def members; end998 def new(*_); end999 end1000end1001module Selenium::WebDriver::Remote1002end1003class Selenium::WebDriver::Remote::Bridge1004 include(::Selenium::WebDriver::Atoms)1005 include(::Selenium::WebDriver::BridgeHelper)1006 def initialize(opts = T.unsafe(nil)); end1007 def browser; end1008 def capabilities; end1009 def context; end1010 def context=(_); end1011 def create_session(desired_capabilities, options = T.unsafe(nil)); end1012 def dialect; end1013 def file_detector; end1014 def file_detector=(_); end1015 def http; end1016 def http=(_); end1017 def session_id; end1018 private1019 def commands(command); end1020 def escaper; end1021 def execute(command, opts = T.unsafe(nil), command_hash = T.unsafe(nil)); end1022 def merged_capabilities(oss_capabilities, options = T.unsafe(nil)); end1023 class << self1024 def handshake(**opts); end1025 end1026end1027Selenium::WebDriver::Remote::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1028Selenium::WebDriver::Remote::Bridge::PORT = T.let(T.unsafe(nil), Integer)1029class Selenium::WebDriver::Remote::Capabilities1030 def initialize(opts = T.unsafe(nil)); end1031 def ==(other); end1032 def [](key); end1033 def []=(key, value); end1034 def as_json(*_); end1035 def browser_name; end1036 def browser_name=(value); end1037 def css_selectors_enabled; end1038 def css_selectors_enabled=(value); end1039 def css_selectors_enabled?; end1040 def eql?(other); end1041 def firefox_profile; end1042 def firefox_profile=(value); end1043 def javascript_enabled; end1044 def javascript_enabled=(value); end1045 def javascript_enabled?; end1046 def merge!(other); end1047 def native_events; end1048 def native_events=(value); end1049 def native_events?; end1050 def platform; end1051 def platform=(value); end1052 def proxy; end1053 def proxy=(proxy); end1054 def rotatable; end1055 def rotatable=(value); end1056 def rotatable?; end1057 def takes_screenshot; end1058 def takes_screenshot=(value); end1059 def takes_screenshot?; end1060 def to_json(*_); end1061 def version; end1062 def version=(value); end1063 protected1064 def capabilities; end1065 private1066 def camel_case(str); end1067 class << self1068 def chrome(opts = T.unsafe(nil)); end1069 def edge(opts = T.unsafe(nil)); end1070 def firefox(opts = T.unsafe(nil)); end1071 def firefox_legacy(opts = T.unsafe(nil)); end1072 def htmlunit(opts = T.unsafe(nil)); end1073 def htmlunitwithjs(opts = T.unsafe(nil)); end1074 def ie(opts = T.unsafe(nil)); end1075 def internet_explorer(opts = T.unsafe(nil)); end1076 def json_create(data); end1077 def phantomjs(opts = T.unsafe(nil)); end1078 def safari(opts = T.unsafe(nil)); end1079 end1080end1081Selenium::WebDriver::Remote::Capabilities::DEFAULTS = T.let(T.unsafe(nil), Hash)1082class Selenium::WebDriver::Remote::Driver < ::Selenium::WebDriver::Driver1083 include(::Selenium::WebDriver::DriverExtensions::UploadsFiles)1084 include(::Selenium::WebDriver::DriverExtensions::TakesScreenshot)1085 include(::Selenium::WebDriver::DriverExtensions::HasSessionId)1086 include(::Selenium::WebDriver::DriverExtensions::Rotatable)1087 include(::Selenium::WebDriver::DriverExtensions::HasRemoteStatus)1088 include(::Selenium::WebDriver::DriverExtensions::HasWebStorage)1089 def initialize(opts = T.unsafe(nil)); end1090end1091module Selenium::WebDriver::Remote::Http1092end1093class Selenium::WebDriver::Remote::Http::Common1094 def initialize; end1095 def call(verb, url, command_hash); end1096 def close; end1097 def quit_errors; end1098 def server_url=(_); end1099 def timeout; end1100 def timeout=(_); end1101 private1102 def create_response(code, body, content_type); end1103 def request(*_); end1104 def server_url; end1105end1106Selenium::WebDriver::Remote::Http::Common::CONTENT_TYPE = T.let(T.unsafe(nil), String)1107Selenium::WebDriver::Remote::Http::Common::DEFAULT_HEADERS = T.let(T.unsafe(nil), Hash)1108Selenium::WebDriver::Remote::Http::Common::MAX_REDIRECTS = T.let(T.unsafe(nil), Integer)1109class Selenium::WebDriver::Remote::Http::Default < ::Selenium::WebDriver::Remote::Http::Common1110 def initialize(open_timeout: T.unsafe(nil), read_timeout: T.unsafe(nil)); end1111 def close; end1112 def open_timeout; end1113 def open_timeout=(_); end1114 def proxy=(_); end1115 def read_timeout; end1116 def read_timeout=(_); end1117 def timeout=(value); end1118 private1119 def http; end1120 def new_http_client; end1121 def new_request_for(verb, url, headers, payload); end1122 def proxy; end1123 def request(verb, url, headers, payload, redirects = T.unsafe(nil)); end1124 def response_for(request); end1125 def use_proxy?; end1126end1127Selenium::WebDriver::Remote::Http::Default::MAX_RETRIES = T.let(T.unsafe(nil), Integer)1128module Selenium::WebDriver::Remote::OSS1129end1130class Selenium::WebDriver::Remote::OSS::Bridge < ::Selenium::WebDriver::Remote::Bridge1131 def initialize(capabilities, session_id, **opts); end1132 def accept_alert; end1133 def action; end1134 def active_element; end1135 def add_cookie(cookie); end1136 def alert=(keys); end1137 def alert_text; end1138 def authentication(credentials); end1139 def available_log_types; end1140 def clear_element(element); end1141 def clear_local_storage; end1142 def clear_session_storage; end1143 def click; end1144 def click_element(element); end1145 def close; end1146 def commands(command); end1147 def context_click; end1148 def cookies; end1149 def delete_all_cookies; end1150 def delete_cookie(name); end1151 def dialect; end1152 def dismiss_alert; end1153 def double_click; end1154 def drag_element(element, right_by, down_by); end1155 def element_attribute(element, name); end1156 def element_displayed?(element); end1157 def element_enabled?(element); end1158 def element_location(element); end1159 def element_location_once_scrolled_into_view(element); end1160 def element_property(element, name); end1161 def element_rect(element); end1162 def element_selected?(element); end1163 def element_size(element); end1164 def element_tag_name(element); end1165 def element_text(element); end1166 def element_value(element); end1167 def element_value_of_css_property(element, prop); end1168 def execute_async_script(script, *args); end1169 def execute_script(script, *args); end1170 def find_element_by(how, what, parent = T.unsafe(nil)); end1171 def find_elements_by(how, what, parent = T.unsafe(nil)); end1172 def get(url); end1173 def go_back; end1174 def go_forward; end1175 def implicit_wait_timeout=(milliseconds); end1176 def keyboard; end1177 def local_storage_item(key, value = T.unsafe(nil)); end1178 def local_storage_keys; end1179 def local_storage_size; end1180 def location; end1181 def log(type); end1182 def manage; end1183 def maximize_window(handle = T.unsafe(nil)); end1184 def mouse; end1185 def mouse_down; end1186 def mouse_move_to(element, x = T.unsafe(nil), y = T.unsafe(nil)); end1187 def mouse_up; end1188 def network_connection; end1189 def network_connection=(type); end1190 def page_source; end1191 def quit; end1192 def refresh; end1193 def remove_local_storage_item(key); end1194 def remove_session_storage_item(key); end1195 def reposition_window(x, y, handle = T.unsafe(nil)); end1196 def resize_window(width, height, handle = T.unsafe(nil)); end1197 def screen_orientation; end1198 def screen_orientation=(orientation); end1199 def screenshot; end1200 def script_timeout=(milliseconds); end1201 def send_keys_to_active_element(key); end1202 def send_keys_to_element(element, keys); end1203 def session_capabilities; end1204 def session_storage_item(key, value = T.unsafe(nil)); end1205 def session_storage_keys; end1206 def session_storage_size; end1207 def set_location(lat, lon, alt); end1208 def status; end1209 def submit_element(element); end1210 def switch_to_active_element; end1211 def switch_to_default_content; end1212 def switch_to_frame(id); end1213 def switch_to_parent_frame; end1214 def switch_to_window(name); end1215 def timeout(type, milliseconds); end1216 def title; end1217 def touch_double_tap(element); end1218 def touch_down(x, y); end1219 def touch_element_flick(element, right_by, down_by, speed); end1220 def touch_flick(xspeed, yspeed); end1221 def touch_long_press(element); end1222 def touch_move(x, y); end1223 def touch_scroll(element, x, y); end1224 def touch_single_tap(element); end1225 def touch_up(x, y); end1226 def upload(local_file); end1227 def url; end1228 def window_handle; end1229 def window_handles; end1230 def window_position(handle = T.unsafe(nil)); end1231 def window_size(handle = T.unsafe(nil)); end1232 private1233 def assert_javascript_enabled; end1234 def execute(*args); end1235end1236Selenium::WebDriver::Remote::OSS::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1237class Selenium::WebDriver::Remote::Response1238 def initialize(code, payload = T.unsafe(nil)); end1239 def [](key); end1240 def code; end1241 def error; end1242 def error_message; end1243 def payload; end1244 def payload=(_); end1245 private1246 def add_backtrace(ex); end1247 def assert_ok; end1248 def backtrace_from_remote(server_trace); end1249 def error_payload; end1250 def status; end1251 def value; end1252end1253Selenium::WebDriver::Remote::Response::STACKTRACE_KEY = T.let(T.unsafe(nil), String)1254module Selenium::WebDriver::Remote::W3C1255end1256class Selenium::WebDriver::Remote::W3C::Bridge < ::Selenium::WebDriver::Remote::Bridge1257 def initialize(capabilities, session_id, **opts); end1258 def accept_alert; end1259 def action(async = T.unsafe(nil)); end1260 def actions(async = T.unsafe(nil)); end1261 def active_element; end1262 def add_cookie(cookie); end1263 def alert=(keys); end1264 def alert_text; end1265 def clear_element(element); end1266 def clear_local_storage; end1267 def clear_session_storage; end1268 def click_element(element); end1269 def close; end1270 def commands(command); end1271 def cookie(name); end1272 def cookies; end1273 def delete_all_cookies; end1274 def delete_cookie(name); end1275 def dialect; end1276 def dismiss_alert; end1277 def drag_element(element, right_by, down_by); end1278 def element_attribute(element, name); end1279 def element_displayed?(element); end1280 def element_enabled?(element); end1281 def element_location(element); end1282 def element_location_once_scrolled_into_view(element); end1283 def element_property(element, name); end1284 def element_rect(element); end1285 def element_selected?(element); end1286 def element_size(element); end1287 def element_tag_name(element); end1288 def element_text(element); end1289 def element_value(element); end1290 def element_value_of_css_property(element, prop); end1291 def execute_async_script(script, *args); end1292 def execute_script(script, *args); end1293 def find_element_by(how, what, parent = T.unsafe(nil)); end1294 def find_elements_by(how, what, parent = T.unsafe(nil)); end1295 def full_screen_window; end1296 def get(url); end1297 def go_back; end1298 def go_forward; end1299 def implicit_wait_timeout=(milliseconds); end1300 def keyboard; end1301 def local_storage_item(key, value = T.unsafe(nil)); end1302 def local_storage_keys; end1303 def local_storage_size; end1304 def location; end1305 def manage; end1306 def maximize_window(handle = T.unsafe(nil)); end1307 def minimize_window; end1308 def mouse; end1309 def network_connection; end1310 def network_connection=(_type); end1311 def new_window(type); end1312 def page_source; end1313 def quit; end1314 def refresh; end1315 def release_actions; end1316 def remove_local_storage_item(key); end1317 def remove_session_storage_item(key); end1318 def reposition_window(x, y); end1319 def resize_window(width, height, handle = T.unsafe(nil)); end1320 def screen_orientation; end1321 def screen_orientation=(orientation); end1322 def screenshot; end1323 def script_timeout=(milliseconds); end1324 def send_actions(data); end1325 def send_keys_to_element(element, keys); end1326 def session_storage_item(key, value = T.unsafe(nil)); end1327 def session_storage_keys; end1328 def session_storage_size; end1329 def set_location(_lat, _lon, _alt); end1330 def set_window_rect(x: T.unsafe(nil), y: T.unsafe(nil), width: T.unsafe(nil), height: T.unsafe(nil)); end1331 def status; end1332 def submit_element(element); end1333 def switch_to_active_element; end1334 def switch_to_default_content; end1335 def switch_to_frame(id); end1336 def switch_to_parent_frame; end1337 def switch_to_window(name); end1338 def timeout(type, milliseconds); end1339 def title; end1340 def touch_double_tap(element); end1341 def touch_down(x, y); end1342 def touch_element_flick(element, right_by, down_by, speed); end1343 def touch_flick(xspeed, yspeed); end1344 def touch_long_press(element); end1345 def touch_move(x, y); end1346 def touch_scroll(element, x, y); end1347 def touch_single_tap(element); end1348 def touch_up(x, y); end1349 def upload(local_file); end1350 def url; end1351 def window_handle; end1352 def window_handles; end1353 def window_position; end1354 def window_rect; end1355 def window_size(handle = T.unsafe(nil)); end1356 private1357 def convert_locators(how, what); end1358 def escape_css(string); end1359 def execute(*_); end1360end1361Selenium::WebDriver::Remote::W3C::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1362Selenium::WebDriver::Remote::W3C::Bridge::ESCAPE_CSS_REGEXP = T.let(T.unsafe(nil), Regexp)1363Selenium::WebDriver::Remote::W3C::Bridge::QUIT_ERRORS = T.let(T.unsafe(nil), Array)1364Selenium::WebDriver::Remote::W3C::Bridge::UNICODE_CODE_POINT = T.let(T.unsafe(nil), Integer)1365class Selenium::WebDriver::Remote::W3C::Capabilities1366 def initialize(opts = T.unsafe(nil)); end1367 def ==(other); end1368 def [](key); end1369 def []=(key, value); end1370 def accept_insecure_certs; end1371 def accept_insecure_certs=(value); end1372 def accessibility_checks; end1373 def accessibility_checks=(value); end1374 def as_json(*_); end1375 def browser_name; end1376 def browser_name=(value); end1377 def browser_version; end1378 def browser_version=(value); end1379 def device; end1380 def device=(value); end1381 def eql?(other); end1382 def implicit_timeout; end1383 def implicit_timeout=(value); end1384 def merge!(other); end1385 def page_load_strategy; end1386 def page_load_strategy=(value); end1387 def page_load_timeout; end1388 def page_load_timeout=(value); end1389 def platform; end1390 def platform=(value); end1391 def platform_name; end1392 def platform_name=(value); end1393 def proxy; end1394 def proxy=(proxy); end1395 def remote_session_id; end1396 def remote_session_id=(value); end1397 def script_timeout; end1398 def script_timeout=(value); end1399 def set_window_rect; end1400 def set_window_rect=(value); end1401 def strict_file_interactability; end1402 def strict_file_interactability=(value); end1403 def timeouts; end1404 def timeouts=(value); end1405 def to_json(*_); end1406 def unhandled_prompt_behavior; end1407 def unhandled_prompt_behavior=(value); end1408 def version; end1409 def version=(value); end1410 protected1411 def capabilities; end1412 private1413 def camel_case(str); end1414 class << self1415 def edge(opts = T.unsafe(nil)); end1416 def ff(opts = T.unsafe(nil)); end1417 def firefox(opts = T.unsafe(nil)); end1418 def from_oss(oss_capabilities); end1419 def json_create(data); end1420 end1421end1422Selenium::WebDriver::Remote::W3C::Capabilities::EXTENSION_CAPABILITY_PATTERN = T.let(T.unsafe(nil), Regexp)1423Selenium::WebDriver::Remote::W3C::Capabilities::KNOWN = T.let(T.unsafe(nil), Array)1424module Selenium::WebDriver::Safari1425 class << self1426 def driver_path; end1427 def driver_path=(path); end1428 def path; end1429 def path=(path); end1430 def technology_preview; end1431 def technology_preview!; end1432 end1433end1434module Selenium::WebDriver::Safari::Bridge1435 def attach_debugger; end1436 def commands(command); end1437 def permissions; end1438 def permissions=(permissions); end1439end1440Selenium::WebDriver::Safari::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1441class Selenium::WebDriver::Safari::Driver < ::Selenium::WebDriver::Driver1442 include(::Selenium::WebDriver::DriverExtensions::HasDebugger)1443 include(::Selenium::WebDriver::DriverExtensions::HasPermissions)1444 include(::Selenium::WebDriver::DriverExtensions::TakesScreenshot)1445 def initialize(opts = T.unsafe(nil)); end1446 def browser; end1447 def quit; end1448 private1449 def create_capabilities(opts = T.unsafe(nil)); end1450end1451class Selenium::WebDriver::Safari::Options1452 def initialize(**opts); end1453 def as_json(*_); end1454 def automatic_inspection; end1455 def automatic_inspection=(_); end1456 def automatic_profiling; end1457 def automatic_profiling=(_); end1458end1459class Selenium::WebDriver::Safari::Service < ::Selenium::WebDriver::Service1460end1461module Selenium::WebDriver::SearchContext1462 def find_element(*args); end1463 def find_elements(*args); end1464 private1465 def extract_args(args); end1466end1467Selenium::WebDriver::SearchContext::FINDERS = T.let(T.unsafe(nil), Hash)1468class Selenium::WebDriver::Service1469 def initialize(path: T.unsafe(nil), port: T.unsafe(nil), args: T.unsafe(nil)); end1470 def executable_path; end1471 def host; end1472 def host=(_); end1473 def start; end1474 def stop; end1475 def uri; end1476 protected1477 def extract_service_args(driver_opts); end1478 private1479 def binary_path(path = T.unsafe(nil)); end1480 def build_process(*command); end1481 def cannot_connect_error_text; end1482 def connect_to_server; end1483 def connect_until_stable; end1484 def find_free_port; end1485 def process_exited?; end1486 def process_running?; end1487 def socket_lock; end1488 def start_process; end1489 def stop_process; end1490 def stop_server; end1491 class << self1492 def chrome(**opts); end1493 def default_port; end1494 def driver_path; end1495 def driver_path=(path); end1496 def edge(**opts); end1497 def executable; end1498 def firefox(**opts); end1499 def ie(**opts); end1500 def internet_explorer(**opts); end1501 def missing_text; end1502 def safari(**opts); end1503 def shutdown_supported; end1504 end1505end1506Selenium::WebDriver::Service::SOCKET_LOCK_TIMEOUT = T.let(T.unsafe(nil), Integer)1507Selenium::WebDriver::Service::START_TIMEOUT = T.let(T.unsafe(nil), Integer)1508Selenium::WebDriver::Service::STOP_TIMEOUT = T.let(T.unsafe(nil), Integer)1509class Selenium::WebDriver::SocketLock1510 def initialize(port, timeout); end1511 def locked; end1512 private1513 def can_lock?; end1514 def current_time; end1515 def did_lock?; end1516 def lock; end1517 def release; end1518end1519class Selenium::WebDriver::SocketPoller1520 def initialize(host, port, timeout = T.unsafe(nil), interval = T.unsafe(nil)); end1521 def closed?; end1522 def connected?; end1523 private1524 def conn_completed?(sock); end1525 def current_time; end1526 def listening?; end1527 def socket_writable?(sock); end1528 def with_timeout; end1529end1530Selenium::WebDriver::SocketPoller::CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1531Selenium::WebDriver::SocketPoller::CONNECT_TIMEOUT = T.let(T.unsafe(nil), Integer)1532Selenium::WebDriver::SocketPoller::NOT_CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1533module Selenium::WebDriver::Support1534end1535class Selenium::WebDriver::Support::AbstractEventListener1536 def after_change_value_of(element, driver); end1537 def after_click(element, driver); end1538 def after_close(driver); end1539 def after_execute_script(script, driver); end1540 def after_find(by, what, driver); end1541 def after_navigate_back(driver); end1542 def after_navigate_forward(driver); end1543 def after_navigate_to(url, driver); end1544 def after_quit(driver); end1545 def before_change_value_of(element, driver); end1546 def before_click(element, driver); end1547 def before_close(driver); end1548 def before_execute_script(script, driver); end1549 def before_find(by, what, driver); end1550 def before_navigate_back(driver); end1551 def before_navigate_forward(driver); end1552 def before_navigate_to(url, driver); end1553 def before_quit(driver); end1554end1555class Selenium::WebDriver::Support::BlockEventListener1556 def initialize(callback); end1557 def method_missing(meth, *args); end1558end1559class Selenium::WebDriver::Support::Color1560 def initialize(red, green, blue, alpha = T.unsafe(nil)); end1561 def ==(other); end1562 def alpha; end1563 def blue; end1564 def eql?(other); end1565 def green; end1566 def hash; end1567 def hex; end1568 def red; end1569 def rgb; end1570 def rgba; end1571 class << self1572 def from_hsl(h, s, l, a); end1573 def from_string(str); end1574 def hue_to_rgb(lum1, lum2, hue); end1575 end1576end1577Selenium::WebDriver::Support::Color::HEX3_PATTERN = T.let(T.unsafe(nil), Regexp)1578Selenium::WebDriver::Support::Color::HEX_PATTERN = T.let(T.unsafe(nil), Regexp)1579Selenium::WebDriver::Support::Color::HSLA_PATTERN = T.let(T.unsafe(nil), Regexp)1580Selenium::WebDriver::Support::Color::HSL_PATTERN = T.let(T.unsafe(nil), Regexp)1581Selenium::WebDriver::Support::Color::RGBA_PATTERN = T.let(T.unsafe(nil), Regexp)1582Selenium::WebDriver::Support::Color::RGBA_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1583Selenium::WebDriver::Support::Color::RGB_PATTERN = T.let(T.unsafe(nil), Regexp)1584Selenium::WebDriver::Support::Color::RGB_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1585module Selenium::WebDriver::Support::Escaper1586 class << self1587 def escape(str); end1588 end1589end1590class Selenium::WebDriver::Support::EventFiringBridge1591 def initialize(delegate, listener); end1592 def clear_element(ref); end1593 def click_element(ref); end1594 def close; end1595 def execute_script(script, *args); end1596 def find_element_by(how, what, parent = T.unsafe(nil)); end1597 def find_elements_by(how, what, parent = T.unsafe(nil)); end1598 def get(url); end1599 def go_back; end1600 def go_forward; end1601 def quit; end1602 def send_keys_to_element(ref, keys); end1603 private1604 def create_element(ref); end1605 def dispatch(name, *args); end1606 def driver; end1607 def method_missing(meth, *args, &blk); end1608end1609class Selenium::WebDriver::Support::Select1610 def initialize(element); end1611 def deselect_all; end1612 def deselect_by(how, what); end1613 def first_selected_option; end1614 def multiple?; end1615 def options; end1616 def select_all; end1617 def select_by(how, what); end1618 def selected_options; end1619 private1620 def deselect_by_index(index); end1621 def deselect_by_text(text); end1622 def deselect_by_value(value); end1623 def deselect_option(option); end1624 def deselect_options(opts); end1625 def find_by_index(index); end1626 def find_by_text(text); end1627 def find_by_value(value); end1628 def select_by_index(index); end1629 def select_by_text(text); end1630 def select_by_value(value); end1631 def select_option(option); end1632 def select_options(opts); end1633end1634class Selenium::WebDriver::TargetLocator1635 def initialize(bridge); end1636 def active_element; end1637 def alert; end1638 def default_content; end1639 def frame(id); end1640 def parent_frame; end1641 def window(id); end1642end1643class Selenium::WebDriver::Timeouts1644 def initialize(bridge); end1645 def implicit_wait=(seconds); end1646 def page_load=(seconds); end1647 def script_timeout=(seconds); end1648end1649class Selenium::WebDriver::TouchActionBuilder < ::Selenium::WebDriver::ActionBuilder1650 def initialize(mouse, keyboard, touch_screen); end1651 def double_tap(element); end1652 def down(x, y = T.unsafe(nil)); end1653 def flick(*args); end1654 def long_press(element); end1655 def move(x, y = T.unsafe(nil)); end1656 def scroll(*args); end1657 def single_tap(element); end1658 def up(x, y = T.unsafe(nil)); end1659end1660class Selenium::WebDriver::TouchScreen1661 def initialize(bridge); end1662 def double_tap(element); end1663 def down(x, y = T.unsafe(nil)); end1664 def flick(*args); end1665 def long_press(element); end1666 def move(x, y = T.unsafe(nil)); end1667 def scroll(*args); end1668 def single_tap(element); end1669 def up(x, y = T.unsafe(nil)); end1670 private1671 def assert_element(element); end1672 def coords_from(x, y); end1673end1674Selenium::WebDriver::TouchScreen::FLICK_SPEED = T.let(T.unsafe(nil), Hash)1675Selenium::WebDriver::VERSION = T.let(T.unsafe(nil), String)1676class Selenium::WebDriver::W3CActionBuilder1677 include(::Selenium::WebDriver::KeyActions)1678 include(::Selenium::WebDriver::PointerActions)1679 def initialize(bridge, mouse, keyboard, async = T.unsafe(nil)); end1680 def add_key_input(name); end1681 def add_pointer_input(kind, name); end1682 def clear_all_actions; end1683 def devices; end1684 def get_device(name); end1685 def key_inputs; end1686 def pause(device, duration = T.unsafe(nil)); end1687 def pauses(device, number, duration = T.unsafe(nil)); end1688 def perform; end1689 def pointer_inputs; end1690 def release_actions; end1691 private1692 def add_input(device); end1693 def tick(*action_devices); end1694end1695class Selenium::WebDriver::W3CManager < ::Selenium::WebDriver::Manager1696 def cookie_named(name); end1697 def delete_all_cookies; end1698end1699class Selenium::WebDriver::Wait1700 def initialize(opts = T.unsafe(nil)); end1701 def until; end1702 private1703 def current_time; end1704end1705Selenium::WebDriver::Wait::DEFAULT_INTERVAL = T.let(T.unsafe(nil), Float)1706Selenium::WebDriver::Wait::DEFAULT_TIMEOUT = T.let(T.unsafe(nil), Integer)1707class Selenium::WebDriver::Window1708 def initialize(bridge); end1709 def full_screen; end1710 def maximize; end1711 def minimize; end1712 def move_to(x, y); end1713 def position; end1714 def position=(point); end1715 def rect; end1716 def rect=(rectangle); end1717 def resize_to(width, height); end1718 def size; end1719 def size=(dimension); end1720end1721module Selenium::WebDriver::Zipper1722 class << self1723 def unzip(path); end1724 def zip(path); end1725 def zip_file(path); end1726 private1727 def add_zip_entry(zip, file, entry_name); end1728 def with_tmp_zip(&blk); end1729 end1730end1731Selenium::WebDriver::Zipper::EXTENSIONS = T.let(T.unsafe(nil), Array)1732class Selenium::WebDriver::Error::ServerError < ::StandardError1733 def initialize(response); end1734end...

Full Screen

Full Screen

selenium-webdriver@4.1.0.rbi

Source:selenium-webdriver@4.1.0.rbi Github

copy

Full Screen

...12end13class Selenium::WebDriver::ActionBuilder14 include ::Selenium::WebDriver::KeyActions15 include ::Selenium::WebDriver::PointerActions16 def initialize(bridge, mouse, keyboard, async = T.unsafe(nil)); end17 def add_key_input(name); end18 def add_pointer_input(kind, name); end19 def clear_all_actions; end20 def devices; end21 def get_device(name); end22 def key_inputs; end23 def pause(device, duration = T.unsafe(nil)); end24 def pauses(device, number, duration = T.unsafe(nil)); end25 def perform; end26 def pointer_inputs; end27 def release_actions; end28 private29 def add_input(device); end30 def tick(*action_devices); end31end32class Selenium::WebDriver::Alert33 def initialize(bridge); end34 def accept; end35 def dismiss; end36 def send_keys(keys); end37 def text; end38end39module Selenium::WebDriver::Atoms40 private41 def execute_atom(function_name, *arguments); end42 def read_atom(function); end43end44module Selenium::WebDriver::Chrome45 class << self46 def driver_path; end47 def driver_path=(path); end48 def path; end49 def path=(path); end50 end51end52class Selenium::WebDriver::Chrome::Driver < ::Selenium::WebDriver::Driver53 def browser; end54 private55 def devtools_address; end56 def devtools_url; end57 def devtools_version; end58end59Selenium::WebDriver::Chrome::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)60module Selenium::WebDriver::Chrome::Features61 def available_log_types; end62 def cast_issue_message; end63 def cast_sink_to_use=(name); end64 def cast_sinks; end65 def commands(command); end66 def delete_network_conditions; end67 def launch_app(id); end68 def log(type); end69 def network_conditions; end70 def network_conditions=(conditions); end71 def send_command(command_params); end72 def set_permission(name, value); end73 def start_cast_tab_mirroring(name); end74 def stop_casting(name); end75end76Selenium::WebDriver::Chrome::Features::CHROME_COMMANDS = T.let(T.unsafe(nil), Hash)77class Selenium::WebDriver::Chrome::Options < ::Selenium::WebDriver::Options78 def initialize(profile: T.unsafe(nil), **opts); end79 def add_argument(arg); end80 def add_emulation(**opts); end81 def add_encoded_extension(encoded); end82 def add_extension(path); end83 def add_preference(name, value); end84 def enable_android(package: T.unsafe(nil), serial_number: T.unsafe(nil), use_running_app: T.unsafe(nil), activity: T.unsafe(nil)); end85 def extensions; end86 def extensions=(extensions); end87 def headless!; end88 def logging_prefs; end89 def logging_prefs=(_arg0); end90 def profile; end91 def profile=(_arg0); end92 private93 def binary_path; end94 def camelize?(key); end95 def enable_logging(browser_options); end96 def encode_extension(path); end97 def process_browser_options(browser_options); end98 def validate_extension(path); end99end100Selenium::WebDriver::Chrome::Options::BROWSER = T.let(T.unsafe(nil), String)101Selenium::WebDriver::Chrome::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)102Selenium::WebDriver::Chrome::Options::KEY = T.let(T.unsafe(nil), String)103class Selenium::WebDriver::Chrome::Profile104 include ::Selenium::WebDriver::ProfileHelper105 extend ::Selenium::WebDriver::ProfileHelper::ClassMethods106 def initialize(model = T.unsafe(nil)); end107 def [](key); end108 def []=(key, value); end109 def add_encoded_extension(encoded); end110 def add_extension(path); end111 def as_json(*_arg0); end112 def directory; end113 def layout_on_disk; end114 private115 def prefs; end116 def prefs_file_for(dir); end117 def read_model_prefs; end118 def write_prefs_to(dir); end119end120class Selenium::WebDriver::Chrome::Service < ::Selenium::WebDriver::Service121 private122 def extract_service_args(driver_opts); end123end124Selenium::WebDriver::Chrome::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)125Selenium::WebDriver::Chrome::Service::EXECUTABLE = T.let(T.unsafe(nil), String)126Selenium::WebDriver::Chrome::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)127Selenium::WebDriver::Chrome::Service::SHUTDOWN_SUPPORTED = T.let(T.unsafe(nil), TrueClass)128class Selenium::WebDriver::DevTools129 def initialize(url:); end130 def callbacks; end131 def close; end132 def method_missing(method, *_args); end133 def send_cmd(method, **params); end134 private135 def attach_socket_listener; end136 def callback_thread(params); end137 def error_message(error); end138 def incoming_frame; end139 def next_id; end140 def process_frame(frame); end141 def process_handshake; end142 def respond_to_missing?(method, *_args); end143 def socket; end144 def start_session; end145 def wait; end146 def ws; end147end148class Selenium::WebDriver::DevTools::ConsoleEvent149 def initialize(type:, timestamp:, args:); end150 def args; end151 def args=(_arg0); end152 def timestamp; end153 def timestamp=(_arg0); end154 def type; end155 def type=(_arg0); end156end157class Selenium::WebDriver::DevTools::ExceptionEvent158 def initialize(description:, timestamp:, stacktrace:); end159 def description; end160 def description=(_arg0); end161 def stacktrace; end162 def stacktrace=(_arg0); end163 def timestamp; end164 def timestamp=(_arg0); end165end166class Selenium::WebDriver::DevTools::MutationEvent167 def initialize(element:, attribute_name:, current_value:, old_value:); end168 def attribute_name; end169 def attribute_name=(_arg0); end170 def current_value; end171 def current_value=(_arg0); end172 def element; end173 def element=(_arg0); end174 def old_value; end175 def old_value=(_arg0); end176end177class Selenium::WebDriver::DevTools::PinnedScript178 def initialize(script); end179 def callable; end180 def devtools_identifier; end181 def devtools_identifier=(_arg0); end182 def key; end183 def key=(_arg0); end184 def remove; end185 def script; end186 def script=(_arg0); end187 def to_json(*_arg0); end188end189Selenium::WebDriver::DevTools::RESPONSE_WAIT_INTERVAL = T.let(T.unsafe(nil), Float)190Selenium::WebDriver::DevTools::RESPONSE_WAIT_TIMEOUT = T.let(T.unsafe(nil), Integer)191class Selenium::WebDriver::DevTools::Request192 def initialize(id:, url:, method:, headers:, post_data:); end193 def ==(other); end194 def headers; end195 def headers=(_arg0); end196 def id; end197 def inspect; end198 def method; end199 def method=(_arg0); end200 def post_data; end201 def post_data=(_arg0); end202 def url; end203 def url=(_arg0); end204 class << self205 def from(id, params); end206 end207end208class Selenium::WebDriver::DevTools::Response209 def initialize(id:, code:, body:, headers:); end210 def ==(other); end211 def body; end212 def body=(_arg0); end213 def code; end214 def code=(_arg0); end215 def headers; end216 def headers=(_arg0); end217 def id; end218 def inspect; end219 class << self220 def from(id, encoded_body, params); end221 end222end223class Selenium::WebDriver::Dimension < ::Struct224 def height; end225 def height=(_); end226 def width; end227 def width=(_); end228 class << self229 def [](*_arg0); end230 def inspect; end231 def keyword_init?; end232 def members; end233 def new(*_arg0); end234 end235end236class Selenium::WebDriver::Driver237 include ::Selenium::WebDriver::SearchContext238 include ::Selenium::WebDriver::TakesScreenshot239 def initialize(bridge: T.unsafe(nil), listener: T.unsafe(nil), **opts); end240 def [](sel); end241 def action; end242 def all(*args); end243 def browser; end244 def capabilities; end245 def close; end246 def current_url; end247 def execute_async_script(script, *args); end248 def execute_script(script, *args); end249 def first(*args); end250 def get(url); end251 def inspect; end252 def keyboard; end253 def manage; end254 def mouse; end255 def navigate; end256 def page_source; end257 def quit; end258 def ref; end259 def script(script, *args); end260 def status; end261 def switch_to; end262 def title; end263 def window_handle; end264 def window_handles; end265 private266 def add_extensions(browser); end267 def bridge; end268 def create_bridge(**opts); end269 def generate_capabilities(cap_array); end270 def screenshot; end271 def service_url(opts); end272 class << self273 def for(browser, opts = T.unsafe(nil)); end274 end275end276module Selenium::WebDriver::DriverExtensions; end277module Selenium::WebDriver::DriverExtensions::DownloadsFiles278 def download_path=(path); end279end280module Selenium::WebDriver::DriverExtensions::FullPageScreenshot281 def save_full_page_screenshot(path); end282 private283 def full_screenshot; end284end285module Selenium::WebDriver::DriverExtensions::HasAddons286 def install_addon(path, temporary = T.unsafe(nil)); end287 def uninstall_addon(id); end288end289module Selenium::WebDriver::DriverExtensions::HasApplePermissions290 def permissions; end291 def permissions=(permissions); end292end293module Selenium::WebDriver::DriverExtensions::HasAuthentication294 def register(username:, password:, uri: T.unsafe(nil)); end295 private296 def auth_handlers; end297 def authenticate(request_id, url); end298end299module Selenium::WebDriver::DriverExtensions::HasCDP300 def execute_cdp(cmd, **params); end301end302module Selenium::WebDriver::DriverExtensions::HasCasting303 def cast_issue_message; end304 def cast_sink_to_use=(name); end305 def cast_sinks; end306 def start_cast_tab_mirroring(name); end307 def stop_casting(name); end308end309module Selenium::WebDriver::DriverExtensions::HasContext310 def context; end311 def context=(value); end312end313module Selenium::WebDriver::DriverExtensions::HasDebugger314 def attach_debugger; end315end316module Selenium::WebDriver::DriverExtensions::HasDevTools317 def devtools; end318end319module Selenium::WebDriver::DriverExtensions::HasLaunching320 def launch_app(id); end321end322module Selenium::WebDriver::DriverExtensions::HasLocation323 def location; end324 def location=(*_arg0); end325 def set_location; end326end327module Selenium::WebDriver::DriverExtensions::HasLogEvents328 include ::Selenium::WebDriver::Atoms329 def on_log_event(kind, &block); end330 private331 def log_console_events; end332 def log_exception_events; end333 def log_listeners; end334 def log_mutation_event(params); end335 def log_mutation_events; end336 def mutation_listener; end337end338Selenium::WebDriver::DriverExtensions::HasLogEvents::KINDS = T.let(T.unsafe(nil), Array)339module Selenium::WebDriver::DriverExtensions::HasLogs340 def logs; end341end342module Selenium::WebDriver::DriverExtensions::HasNetworkConditions343 def delete_network_conditions; end344 def network_conditions; end345 def network_conditions=(conditions); end346end347module Selenium::WebDriver::DriverExtensions::HasNetworkConnection348 def network_connection_type; end349 def network_connection_type=(*_arg0); end350end351module Selenium::WebDriver::DriverExtensions::HasNetworkInterception352 def intercept(&block); end353 private354 def fetch_response_body(id); end355 def intercept_request(id, params, &block); end356 def intercept_response(id, params); end357 def pending_response_requests; end358end359module Selenium::WebDriver::DriverExtensions::HasPermissions360 def add_permission(name, value); end361 def add_permissions(opt); end362end363module Selenium::WebDriver::DriverExtensions::HasPinnedScripts364 def pin_script(script); end365 def pinned_scripts; end366 def unpin_script(script); end367end368module Selenium::WebDriver::DriverExtensions::HasRemoteStatus369 def remote_status; end370end371module Selenium::WebDriver::DriverExtensions::HasSessionId372 def session_id; end373end374module Selenium::WebDriver::DriverExtensions::HasWebStorage375 def local_storage; end376 def session_storage; end377end378module Selenium::WebDriver::DriverExtensions::PrintsPage379 def print_page(**options); end380 def save_print_page(path, **options); end381end382module Selenium::WebDriver::DriverExtensions::UploadsFiles383 def file_detector=(detector); end384end385module Selenium::WebDriver::Edge386 class << self387 def path; end388 def path=(path); end389 end390end391class Selenium::WebDriver::Edge::Driver < ::Selenium::WebDriver::Chrome::Driver392 def browser; end393 private394 def devtools_address; end395end396module Selenium::WebDriver::Edge::Features397 include ::Selenium::WebDriver::Chrome::Features398 def commands(command); end399end400Selenium::WebDriver::Edge::Features::EDGE_COMMANDS = T.let(T.unsafe(nil), Hash)401class Selenium::WebDriver::Edge::Options < ::Selenium::WebDriver::Chrome::Options402 protected403 def enable_logging(browser_options); end404 private405 def binary_path; end406end407Selenium::WebDriver::Edge::Options::BROWSER = T.let(T.unsafe(nil), String)408Selenium::WebDriver::Edge::Options::KEY = T.let(T.unsafe(nil), String)409class Selenium::WebDriver::Edge::Profile < ::Selenium::WebDriver::Chrome::Profile; end410class Selenium::WebDriver::Edge::Service < ::Selenium::WebDriver::Chrome::Service; end411Selenium::WebDriver::Edge::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)412Selenium::WebDriver::Edge::Service::EXECUTABLE = T.let(T.unsafe(nil), String)413Selenium::WebDriver::Edge::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)414Selenium::WebDriver::Edge::Service::SHUTDOWN_SUPPORTED = T.let(T.unsafe(nil), TrueClass)415class Selenium::WebDriver::Element416 include ::Selenium::WebDriver::SearchContext417 include ::Selenium::WebDriver::TakesScreenshot418 def initialize(bridge, id); end419 def ==(other); end420 def [](name); end421 def accessible_name; end422 def all(*args); end423 def aria_role; end424 def as_json(*_arg0); end425 def attribute(name); end426 def clear; end427 def click; end428 def css_value(prop); end429 def displayed?; end430 def dom_attribute(name); end431 def enabled?; end432 def eql?(other); end433 def first(*args); end434 def hash; end435 def inspect; end436 def location; end437 def location_once_scrolled_into_view; end438 def property(name); end439 def rect; end440 def ref; end441 def selected?; end442 def send_key(*args); end443 def send_keys(*args); end444 def shadow_root; end445 def size; end446 def style(prop); end447 def submit; end448 def tag_name; end449 def text; end450 def to_json(*_arg0); end451 private452 def bridge; end453 def screenshot; end454 def selectable?; end455end456Selenium::WebDriver::Element::ELEMENT_KEY = T.let(T.unsafe(nil), String)457module Selenium::WebDriver::Error458 class << self459 def for_error(error); end460 end461end462class Selenium::WebDriver::Error::DetachedShadowRootError < ::Selenium::WebDriver::Error::WebDriverError; end463class Selenium::WebDriver::Error::ElementClickInterceptedError < ::Selenium::WebDriver::Error::WebDriverError; end464class Selenium::WebDriver::Error::ElementNotInteractableError < ::Selenium::WebDriver::Error::WebDriverError; end465class Selenium::WebDriver::Error::InsecureCertificateError < ::Selenium::WebDriver::Error::WebDriverError; end466class Selenium::WebDriver::Error::InvalidArgumentError < ::Selenium::WebDriver::Error::WebDriverError; end467class Selenium::WebDriver::Error::InvalidCookieDomainError < ::Selenium::WebDriver::Error::WebDriverError; end468class Selenium::WebDriver::Error::InvalidElementStateError < ::Selenium::WebDriver::Error::WebDriverError; end469class Selenium::WebDriver::Error::InvalidSelectorError < ::Selenium::WebDriver::Error::WebDriverError; end470class Selenium::WebDriver::Error::InvalidSessionIdError < ::Selenium::WebDriver::Error::WebDriverError; end471class Selenium::WebDriver::Error::JavascriptError < ::Selenium::WebDriver::Error::WebDriverError; end472class Selenium::WebDriver::Error::MoveTargetOutOfBoundsError < ::Selenium::WebDriver::Error::WebDriverError; end473class Selenium::WebDriver::Error::NoSuchAlertError < ::Selenium::WebDriver::Error::WebDriverError; end474class Selenium::WebDriver::Error::NoSuchCookieError < ::Selenium::WebDriver::Error::WebDriverError; end475class Selenium::WebDriver::Error::NoSuchElementError < ::Selenium::WebDriver::Error::WebDriverError; end476class Selenium::WebDriver::Error::NoSuchFrameError < ::Selenium::WebDriver::Error::WebDriverError; end477class Selenium::WebDriver::Error::NoSuchShadowRootError < ::Selenium::WebDriver::Error::WebDriverError; end478class Selenium::WebDriver::Error::NoSuchWindowError < ::Selenium::WebDriver::Error::WebDriverError; end479class Selenium::WebDriver::Error::ScriptTimeoutError < ::Selenium::WebDriver::Error::WebDriverError; end480class Selenium::WebDriver::Error::ServerError < ::StandardError481 def initialize(response); end482end483class Selenium::WebDriver::Error::SessionNotCreatedError < ::Selenium::WebDriver::Error::WebDriverError; end484class Selenium::WebDriver::Error::StaleElementReferenceError < ::Selenium::WebDriver::Error::WebDriverError; end485class Selenium::WebDriver::Error::TimeoutError < ::Selenium::WebDriver::Error::WebDriverError; end486class Selenium::WebDriver::Error::UnableToCaptureScreenError < ::Selenium::WebDriver::Error::WebDriverError; end487class Selenium::WebDriver::Error::UnableToSetCookieError < ::Selenium::WebDriver::Error::WebDriverError; end488class Selenium::WebDriver::Error::UnexpectedAlertOpenError < ::Selenium::WebDriver::Error::WebDriverError; end489class Selenium::WebDriver::Error::UnknownCommandError < ::Selenium::WebDriver::Error::WebDriverError; end490class Selenium::WebDriver::Error::UnknownError < ::Selenium::WebDriver::Error::WebDriverError; end491class Selenium::WebDriver::Error::UnknownMethodError < ::Selenium::WebDriver::Error::WebDriverError; end492class Selenium::WebDriver::Error::UnsupportedOperationError < ::Selenium::WebDriver::Error::WebDriverError; end493class Selenium::WebDriver::Error::WebDriverError < ::StandardError; end494module Selenium::WebDriver::FileReaper495 class << self496 def <<(file); end497 def reap(file); end498 def reap!; end499 def reap=(_arg0); end500 def reap?; end501 def tmp_files; end502 end503end504module Selenium::WebDriver::Firefox505 class << self506 def driver_path; end507 def driver_path=(path); end508 def path; end509 def path=(path); end510 end511end512Selenium::WebDriver::Firefox::DEFAULT_ASSUME_UNTRUSTED_ISSUER = T.let(T.unsafe(nil), TrueClass)513Selenium::WebDriver::Firefox::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)514Selenium::WebDriver::Firefox::DEVTOOLS_VERSION = T.let(T.unsafe(nil), Integer)515class Selenium::WebDriver::Firefox::Driver < ::Selenium::WebDriver::Driver516 def browser; end517 private518 def devtools_url; end519 def devtools_version; end520end521Selenium::WebDriver::Firefox::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)522class Selenium::WebDriver::Firefox::Extension523 def initialize(path); end524 def write_to(extensions_dir); end525 private526 def applications_gecko_id(manifest); end527 def create_root; end528 def name_and_version(manifest); end529 def read_id(directory); end530 def read_id_from_install_rdf(directory); end531 def read_id_from_manifest_json(directory); end532end533Selenium::WebDriver::Firefox::Extension::NAMESPACE = T.let(T.unsafe(nil), String)534module Selenium::WebDriver::Firefox::Features535 def commands(command); end536 def context; end537 def context=(context); end538 def full_screenshot; end539 def install_addon(path, temporary); end540 def uninstall_addon(id); end541end542Selenium::WebDriver::Firefox::Features::FIREFOX_COMMANDS = T.let(T.unsafe(nil), Hash)543class Selenium::WebDriver::Firefox::Options < ::Selenium::WebDriver::Options544 def initialize(log_level: T.unsafe(nil), **opts); end545 def add_argument(arg); end546 def add_preference(name, value); end547 def debugger_address; end548 def debugger_address=(_arg0); end549 def enable_android(package: T.unsafe(nil), serial_number: T.unsafe(nil), activity: T.unsafe(nil), intent_arguments: T.unsafe(nil)); end550 def headless!; end551 def log_level; end552 def log_level=(level); end553 def profile; end554 def profile=(profile); end555 private556 def camelize?(key); end557 def process_browser_options(browser_options); end558 def process_profile(profile); end559end560Selenium::WebDriver::Firefox::Options::BROWSER = T.let(T.unsafe(nil), String)561Selenium::WebDriver::Firefox::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)562Selenium::WebDriver::Firefox::Options::KEY = T.let(T.unsafe(nil), String)563class Selenium::WebDriver::Firefox::Profile564 include ::Selenium::WebDriver::ProfileHelper565 extend ::Selenium::WebDriver::ProfileHelper::ClassMethods566 def initialize(model = T.unsafe(nil)); end567 def []=(key, value); end568 def add_extension(path, name = T.unsafe(nil)); end569 def as_json; end570 def layout_on_disk; end571 def load_no_focus_lib=(_arg0); end572 def log_file; end573 def log_file=(file); end574 def name; end575 def port=(port); end576 def proxy=(proxy); end577 def secure_ssl=(_arg0); end578 private579 def delete_extensions_cache(directory); end580 def delete_lock_files(directory); end581 def extension_name_for(path); end582 def install_extensions(directory); end583 def read_model_prefs; end584 def read_user_prefs(path); end585 def set_manual_proxy_preference(key, value); end586 def stringified?(str); end587 def update_user_prefs_in(directory); end588 def write_prefs(prefs, path); end589 class << self590 def decoded(json); end591 def from_name(name); end592 def ini; end593 end594end595Selenium::WebDriver::Firefox::Profile::DEFAULT_PREFERENCES = T.let(T.unsafe(nil), Hash)596Selenium::WebDriver::Firefox::Profile::VALID_PREFERENCE_TYPES = T.let(T.unsafe(nil), Array)597class Selenium::WebDriver::Firefox::ProfilesIni598 def initialize; end599 def [](name); end600 def refresh; end601 private602 def parse; end603 def path_for(name, is_relative, path); end604end605class Selenium::WebDriver::Firefox::Service < ::Selenium::WebDriver::Service606 private607 def extract_service_args(driver_opts); end608end609Selenium::WebDriver::Firefox::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)610Selenium::WebDriver::Firefox::Service::EXECUTABLE = T.let(T.unsafe(nil), String)611Selenium::WebDriver::Firefox::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)612module Selenium::WebDriver::HTML5; end613class Selenium::WebDriver::HTML5::LocalStorage614 include ::Enumerable615 include ::Selenium::WebDriver::HTML5::SharedWebStorage616 def initialize(bridge); end617 def [](key); end618 def []=(key, value); end619 def clear; end620 def delete(key); end621 def keys; end622 def size; end623end624class Selenium::WebDriver::HTML5::SessionStorage625 include ::Enumerable626 include ::Selenium::WebDriver::HTML5::SharedWebStorage627 def initialize(bridge); end628 def [](key); end629 def []=(key, value); end630 def clear; end631 def delete(key); end632 def keys; end633 def size; end634end635module Selenium::WebDriver::HTML5::SharedWebStorage636 include ::Enumerable637 def each; end638 def empty?; end639 def fetch(key); end640 def has_key?(key); end641 def key?(key); end642 def member?(key); end643end644module Selenium::WebDriver::IE645 class << self646 def driver_path; end647 def driver_path=(path); end648 end649end650class Selenium::WebDriver::IE::Driver < ::Selenium::WebDriver::Driver651 def browser; end652end653Selenium::WebDriver::IE::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)654class Selenium::WebDriver::IE::Options < ::Selenium::WebDriver::Options655 def initialize(**opts); end656 def add_argument(arg); end657 def args; end658 private659 def process_browser_options(browser_options); end660end661Selenium::WebDriver::IE::Options::BROWSER = T.let(T.unsafe(nil), String)662Selenium::WebDriver::IE::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)663Selenium::WebDriver::IE::Options::KEY = T.let(T.unsafe(nil), String)664Selenium::WebDriver::IE::Options::SCROLL_BOTTOM = T.let(T.unsafe(nil), Integer)665Selenium::WebDriver::IE::Options::SCROLL_TOP = T.let(T.unsafe(nil), Integer)666class Selenium::WebDriver::IE::Service < ::Selenium::WebDriver::Service667 private668 def extract_service_args(driver_opts); end669end670Selenium::WebDriver::IE::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)671Selenium::WebDriver::IE::Service::EXECUTABLE = T.let(T.unsafe(nil), String)672Selenium::WebDriver::IE::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)673Selenium::WebDriver::IE::Service::SHUTDOWN_SUPPORTED = T.let(T.unsafe(nil), TrueClass)674module Selenium::WebDriver::Interactions675 class << self676 def key(name); end677 def none(name = T.unsafe(nil)); end678 def pointer(kind, **kwargs); end679 end680end681class Selenium::WebDriver::Interactions::InputDevice682 def initialize(name = T.unsafe(nil)); end683 def actions; end684 def add_action(action); end685 def clear_actions; end686 def create_pause(duration = T.unsafe(nil)); end687 def name; end688 def no_actions?; end689end690class Selenium::WebDriver::Interactions::Interaction691 def initialize(source); end692 def source; end693end694Selenium::WebDriver::Interactions::Interaction::PAUSE = T.let(T.unsafe(nil), Symbol)695Selenium::WebDriver::Interactions::KEY = T.let(T.unsafe(nil), Symbol)696class Selenium::WebDriver::Interactions::KeyInput < ::Selenium::WebDriver::Interactions::InputDevice697 def create_key_down(key); end698 def create_key_up(key); end699 def encode; end700 def type; end701end702Selenium::WebDriver::Interactions::KeyInput::SUBTYPES = T.let(T.unsafe(nil), Hash)703class Selenium::WebDriver::Interactions::KeyInput::TypingInteraction < ::Selenium::WebDriver::Interactions::Interaction704 def initialize(source, type, key); end705 def assert_type(type); end706 def encode; end707 def type; end708end709Selenium::WebDriver::Interactions::NONE = T.let(T.unsafe(nil), Symbol)710class Selenium::WebDriver::Interactions::NoneInput < ::Selenium::WebDriver::Interactions::InputDevice711 def encode; end712 def type; end713end714Selenium::WebDriver::Interactions::POINTER = T.let(T.unsafe(nil), Symbol)715class Selenium::WebDriver::Interactions::Pause < ::Selenium::WebDriver::Interactions::Interaction716 def initialize(source, duration = T.unsafe(nil)); end717 def encode; end718 def type; end719end720class Selenium::WebDriver::Interactions::PointerCancel < ::Selenium::WebDriver::Interactions::Interaction721 def encode; end722 def type; end723end724class Selenium::WebDriver::Interactions::PointerInput < ::Selenium::WebDriver::Interactions::InputDevice725 def initialize(kind, name: T.unsafe(nil)); end726 def assert_kind(pointer); end727 def create_pointer_cancel; end728 def create_pointer_down(button); end729 def create_pointer_move(duration: T.unsafe(nil), x: T.unsafe(nil), y: T.unsafe(nil), element: T.unsafe(nil), origin: T.unsafe(nil)); end730 def create_pointer_up(button); end731 def encode; end732 def kind; end733 def type; end734end735Selenium::WebDriver::Interactions::PointerInput::KIND = T.let(T.unsafe(nil), Hash)736class Selenium::WebDriver::Interactions::PointerMove < ::Selenium::WebDriver::Interactions::Interaction737 def initialize(source, duration, x, y, element: T.unsafe(nil), origin: T.unsafe(nil)); end738 def encode; end739 def type; end740end741Selenium::WebDriver::Interactions::PointerMove::ORIGINS = T.let(T.unsafe(nil), Array)742Selenium::WebDriver::Interactions::PointerMove::POINTER = T.let(T.unsafe(nil), Symbol)743Selenium::WebDriver::Interactions::PointerMove::VIEWPORT = T.let(T.unsafe(nil), Symbol)744class Selenium::WebDriver::Interactions::PointerPress < ::Selenium::WebDriver::Interactions::Interaction745 def initialize(source, direction, button); end746 def assert_button(button); end747 def assert_direction(direction); end748 def encode; end749 def type; end750end751Selenium::WebDriver::Interactions::PointerPress::BUTTONS = T.let(T.unsafe(nil), Hash)752Selenium::WebDriver::Interactions::PointerPress::DIRECTIONS = T.let(T.unsafe(nil), Hash)753Selenium::WebDriver::Interactions::SOURCE_TYPES = T.let(T.unsafe(nil), Array)754module Selenium::WebDriver::KeyActions755 def key_down(*args, device: T.unsafe(nil)); end756 def key_up(*args, device: T.unsafe(nil)); end757 def send_keys(*args, device: T.unsafe(nil)); end758 private759 def key_action(*args, action: T.unsafe(nil), device: T.unsafe(nil)); end760end761module Selenium::WebDriver::Keys762 class << self763 def [](key); end764 def encode(keys); end765 def encode_key(key); end766 end767end768Selenium::WebDriver::Keys::KEYS = T.let(T.unsafe(nil), Hash)769class Selenium::WebDriver::Location < ::Struct770 def altitude; end771 def altitude=(_); end772 def latitude; end773 def latitude=(_); end774 def longitude; end775 def longitude=(_); end776 class << self777 def [](*_arg0); end778 def inspect; end779 def keyword_init?; end780 def members; end781 def new(*_arg0); end782 end783end784class Selenium::WebDriver::LogEntry785 def initialize(level, timestamp, message); end786 def as_json(*_arg0); end787 def level; end788 def message; end789 def time; end790 def timestamp; end791 def to_s; end792end793class Selenium::WebDriver::Logger794 extend ::Forwardable795 def initialize(progname = T.unsafe(nil)); end796 def close(*args, **_arg1, &block); end797 def debug(*args, **_arg1, &block); end798 def debug?(*args, **_arg1, &block); end799 def deprecate(old, new = T.unsafe(nil), id: T.unsafe(nil), reference: T.unsafe(nil), &block); end800 def error(*args, **_arg1, &block); end801 def error?(*args, **_arg1, &block); end802 def fatal(*args, **_arg1, &block); end803 def fatal?(*args, **_arg1, &block); end804 def ignore(id); end805 def info(*args, **_arg1, &block); end806 def info?(*args, **_arg1, &block); end807 def io; end808 def level(*args, **_arg1, &block); end809 def level=(*args, **_arg1, &block); end810 def output=(io); end811 def warn(message, id: T.unsafe(nil)); end812 def warn?(*args, **_arg1, &block); end813 private814 def create_logger(name); end815 def default_level; end816end817class Selenium::WebDriver::Logs818 def initialize(bridge); end819 def available_types; end820 def get(type); end821end822class Selenium::WebDriver::Manager823 def initialize(bridge); end824 def add_cookie(opts = T.unsafe(nil)); end825 def all_cookies; end826 def cookie_named(name); end827 def delete_all_cookies; end828 def delete_cookie(name); end829 def logs; end830 def new_window(type = T.unsafe(nil)); end831 def timeouts; end832 def window; end833 private834 def convert_cookie(cookie); end835 def datetime_at(int); end836 def seconds_from(obj); end837 def strip_port(str); end838end839Selenium::WebDriver::Manager::SECONDS_PER_DAY = T.let(T.unsafe(nil), Float)840class Selenium::WebDriver::Navigation841 def initialize(bridge); end842 def back; end843 def forward; end844 def refresh; end845 def to(url); end846end847class Selenium::WebDriver::Options848 def initialize(options: T.unsafe(nil), **opts); end849 def ==(other); end850 def add_option(name, value = T.unsafe(nil)); end851 def as_json(*_arg0); end852 def eql?(other); end853 def options; end854 def options=(_arg0); end855 private856 def camel_case(str); end857 def camelize?(_key); end858 def convert_json_key(key, camelize: T.unsafe(nil)); end859 def generate_as_json(value, camelize_keys: T.unsafe(nil)); end860 def process_browser_options(_browser_options); end861 def process_json_hash(value, camelize_keys); end862 def process_w3c_options(options); end863 def w3c?(key); end864 class << self865 def chrome(**opts); end866 def driver_path; end867 def edge(**opts); end868 def firefox(**opts); end869 def ie(**opts); end870 def internet_explorer(**opts); end871 def microsoftedge(**opts); end872 def safari(**opts); end873 def set_capabilities; end874 end875end876Selenium::WebDriver::Options::W3C_OPTIONS = T.let(T.unsafe(nil), Array)877module Selenium::WebDriver::Platform878 private879 def assert_executable(path); end880 def assert_file(path); end881 def bitsize; end882 def ci; end883 def cygwin?; end884 def cygwin_path(path, **opts); end885 def engine; end886 def exit_hook; end887 def find_binary(*binary_names); end888 def find_in_program_files(*binary_names); end889 def home; end890 def interfaces; end891 def ip; end892 def jruby?; end893 def linux?; end894 def localhost; end895 def mac?; end896 def make_writable(file); end897 def null_device; end898 def os; end899 def ruby_version; end900 def unix_path(path); end901 def windows?; end902 def windows_path(path); end903 def wrap_in_quotes_if_necessary(str); end904 def wsl?; end905 class << self906 def assert_executable(path); end907 def assert_file(path); end908 def bitsize; end909 def ci; end910 def cygwin?; end911 def cygwin_path(path, **opts); end912 def engine; end913 def exit_hook; end914 def find_binary(*binary_names); end915 def find_in_program_files(*binary_names); end916 def home; end917 def interfaces; end918 def ip; end919 def jruby?; end920 def linux?; end921 def localhost; end922 def mac?; end923 def make_writable(file); end924 def null_device; end925 def os; end926 def ruby_version; end927 def unix_path(path); end928 def windows?; end929 def windows_path(path); end930 def wrap_in_quotes_if_necessary(str); end931 def wsl?; end932 end933end934class Selenium::WebDriver::Point < ::Struct935 def x; end936 def x=(_); end937 def y; end938 def y=(_); end939 class << self940 def [](*_arg0); end941 def inspect; end942 def keyword_init?; end943 def members; end944 def new(*_arg0); end945 end946end947module Selenium::WebDriver::PointerActions948 def click(element = T.unsafe(nil), device: T.unsafe(nil)); end949 def click_and_hold(element = T.unsafe(nil), device: T.unsafe(nil)); end950 def context_click(element = T.unsafe(nil), device: T.unsafe(nil)); end951 def default_move_duration; end952 def default_move_duration=(_arg0); end953 def double_click(element = T.unsafe(nil), device: T.unsafe(nil)); end954 def drag_and_drop(source, target, device: T.unsafe(nil)); end955 def drag_and_drop_by(source, right_by, down_by, device: T.unsafe(nil)); end956 def move_by(right_by, down_by, device: T.unsafe(nil)); end957 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil), device: T.unsafe(nil)); end958 def move_to_location(x, y, device: T.unsafe(nil)); end959 def pointer_down(button, device: T.unsafe(nil)); end960 def pointer_up(button, device: T.unsafe(nil)); end961 def release(device: T.unsafe(nil)); end962 private963 def button_action(button, action: T.unsafe(nil), device: T.unsafe(nil)); end964 def get_pointer(device = T.unsafe(nil)); end965end966class Selenium::WebDriver::PortProber967 class << self968 def above(port); end969 def free?(port); end970 end971end972Selenium::WebDriver::PortProber::IGNORED_ERRORS = T.let(T.unsafe(nil), Array)973module Selenium::WebDriver::ProfileHelper974 mixes_in_class_methods ::Selenium::WebDriver::ProfileHelper::ClassMethods975 def as_json(*_arg0); end976 def encoded; end977 def to_json(*_arg0); end978 private979 def create_tmp_copy(directory); end980 def verify_model(model); end981 class << self982 def decoded(json); end983 def included(base); end984 end985end986module Selenium::WebDriver::ProfileHelper::ClassMethods987 def from_json(json); end988end989class Selenium::WebDriver::Proxy990 def initialize(opts = T.unsafe(nil)); end991 def ==(other); end992 def as_json(*_arg0); end993 def auto_detect; end994 def auto_detect=(bool); end995 def eql?(other); end996 def ftp; end997 def ftp=(value); end998 def http; end999 def http=(value); end1000 def no_proxy; end1001 def no_proxy=(value); end1002 def pac; end1003 def pac=(url); end1004 def socks; end1005 def socks=(value); end1006 def socks_password; end1007 def socks_password=(value); end1008 def socks_username; end1009 def socks_username=(value); end1010 def socks_version; end1011 def socks_version=(value); end1012 def ssl; end1013 def ssl=(value); end1014 def to_json(*_arg0); end1015 def type; end1016 def type=(type); end1017 class << self1018 def json_create(data); end1019 end1020end1021Selenium::WebDriver::Proxy::ALLOWED = T.let(T.unsafe(nil), Hash)1022Selenium::WebDriver::Proxy::TYPES = T.let(T.unsafe(nil), Hash)1023class Selenium::WebDriver::Rectangle < ::Struct1024 def height; end1025 def height=(_); end1026 def width; end1027 def width=(_); end1028 def x; end1029 def x=(_); end1030 def y; end1031 def y=(_); end1032 class << self1033 def [](*_arg0); end1034 def inspect; end1035 def keyword_init?; end1036 def members; end1037 def new(*_arg0); end1038 end1039end1040module Selenium::WebDriver::Remote; end1041class Selenium::WebDriver::Remote::Bridge1042 include ::Selenium::WebDriver::Atoms1043 def initialize(url:, http_client: T.unsafe(nil)); end1044 def accept_alert; end1045 def action(async = T.unsafe(nil)); end1046 def actions(async = T.unsafe(nil)); end1047 def active_element; end1048 def add_cookie(cookie); end1049 def alert=(keys); end1050 def alert_text; end1051 def browser; end1052 def capabilities; end1053 def clear_element(element); end1054 def clear_local_storage; end1055 def clear_session_storage; end1056 def click_element(element); end1057 def close; end1058 def cookie(name); end1059 def cookies; end1060 def create_session(capabilities); end1061 def delete_all_cookies; end1062 def delete_cookie(name); end1063 def dismiss_alert; end1064 def element_aria_label(element); end1065 def element_aria_role(element); end1066 def element_attribute(element, name); end1067 def element_displayed?(element); end1068 def element_dom_attribute(element, name); end1069 def element_enabled?(element); end1070 def element_location(element); end1071 def element_location_once_scrolled_into_view(element); end1072 def element_property(element, name); end1073 def element_rect(element); end1074 def element_screenshot(element); end1075 def element_selected?(element); end1076 def element_size(element); end1077 def element_tag_name(element); end1078 def element_text(element); end1079 def element_value(element); end1080 def element_value_of_css_property(element, prop); end1081 def execute_async_script(script, *args); end1082 def execute_script(script, *args); end1083 def file_detector; end1084 def file_detector=(_arg0); end1085 def find_element_by(how, what, parent_ref = T.unsafe(nil)); end1086 def find_elements_by(how, what, parent_ref = T.unsafe(nil)); end1087 def full_screen_window; end1088 def get(url); end1089 def go_back; end1090 def go_forward; end1091 def http; end1092 def http=(_arg0); end1093 def keyboard; end1094 def local_storage_item(key, value = T.unsafe(nil)); end1095 def local_storage_keys; end1096 def local_storage_size; end1097 def manage; end1098 def maximize_window(handle = T.unsafe(nil)); end1099 def minimize_window; end1100 def mouse; end1101 def new_window(type); end1102 def page_source; end1103 def print_page(options = T.unsafe(nil)); end1104 def quit; end1105 def refresh; end1106 def release_actions; end1107 def remove_local_storage_item(key); end1108 def remove_session_storage_item(key); end1109 def reposition_window(x, y); end1110 def resize_window(width, height, handle = T.unsafe(nil)); end1111 def screenshot; end1112 def send_actions(data); end1113 def send_keys_to_element(element, keys); end1114 def session_id; end1115 def session_storage_item(key, value = T.unsafe(nil)); end1116 def session_storage_keys; end1117 def session_storage_size; end1118 def set_window_rect(x: T.unsafe(nil), y: T.unsafe(nil), width: T.unsafe(nil), height: T.unsafe(nil)); end1119 def shadow_root(element); end1120 def status; end1121 def submit_element(element); end1122 def switch_to_active_element; end1123 def switch_to_default_content; end1124 def switch_to_frame(id); end1125 def switch_to_parent_frame; end1126 def switch_to_window(name); end1127 def timeouts; end1128 def timeouts=(timeouts); end1129 def title; end1130 def upload(local_file); end1131 def url; end1132 def window_handle; end1133 def window_handles; end1134 def window_position; end1135 def window_rect; end1136 def window_size(handle = T.unsafe(nil)); end1137 private1138 def commands(command); end1139 def convert_locator(how, what); end1140 def element_id_from(id); end1141 def escape_css(string); end1142 def escaper; end1143 def execute(command, opts = T.unsafe(nil), command_hash = T.unsafe(nil)); end1144 def prepare_capabilities_payload(capabilities); end1145 def shadow_root_id_from(id); end1146 def unwrap_script_result(arg); end1147end1148Selenium::WebDriver::Remote::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1149Selenium::WebDriver::Remote::Bridge::ESCAPE_CSS_REGEXP = T.let(T.unsafe(nil), Regexp)1150Selenium::WebDriver::Remote::Bridge::PORT = T.let(T.unsafe(nil), Integer)1151Selenium::WebDriver::Remote::Bridge::QUIT_ERRORS = T.let(T.unsafe(nil), Array)1152Selenium::WebDriver::Remote::Bridge::UNICODE_CODE_POINT = T.let(T.unsafe(nil), Integer)1153class Selenium::WebDriver::Remote::Capabilities1154 def initialize(opts = T.unsafe(nil)); end1155 def ==(other); end1156 def [](key); end1157 def []=(key, value); end1158 def accept_insecure_certs; end1159 def accept_insecure_certs=(value); end1160 def as_json(*_arg0); end1161 def browser_name; end1162 def browser_name=(value); end1163 def browser_version; end1164 def browser_version=(value); end1165 def eql?(other); end1166 def implicit_timeout; end1167 def implicit_timeout=(timeout); end1168 def merge!(other); end1169 def page_load_strategy; end1170 def page_load_strategy=(value); end1171 def page_load_timeout; end1172 def page_load_timeout=(timeout); end1173 def platform; end1174 def platform=(value); end1175 def platform_name; end1176 def platform_name=(value); end1177 def proxy; end1178 def proxy=(proxy); end1179 def remote_session_id; end1180 def remote_session_id=(value); end1181 def script_timeout; end1182 def script_timeout=(timeout); end1183 def set_window_rect; end1184 def set_window_rect=(value); end1185 def strict_file_interactability; end1186 def strict_file_interactability=(value); end1187 def timeouts; end1188 def timeouts=(timeouts); end1189 def to_json(*_arg0); end1190 def unhandled_prompt_behavior; end1191 def unhandled_prompt_behavior=(value); end1192 def version; end1193 def version=(value); end1194 def web_socket_url; end1195 def web_socket_url=(value); end1196 protected1197 def capabilities; end1198 private1199 def convert_key(key); end1200 def convert_value(key, value); end1201 def process_capabilities(key, value, hash); end1202 class << self1203 def always_match(capabilities); end1204 def camel_case(str_or_sym); end1205 def chrome(opts = T.unsafe(nil)); end1206 def edge(opts = T.unsafe(nil)); end1207 def ff(opts = T.unsafe(nil)); end1208 def firefox(opts = T.unsafe(nil)); end1209 def first_match(*capabilities); end1210 def htmlunit(opts = T.unsafe(nil)); end1211 def ie(opts = T.unsafe(nil)); end1212 def internet_explorer(opts = T.unsafe(nil)); end1213 def json_create(data); end1214 def microsoftedge(opts = T.unsafe(nil)); end1215 def safari(opts = T.unsafe(nil)); end1216 private1217 def process_timeouts(caps, timeouts); end1218 end1219end1220Selenium::WebDriver::Remote::Capabilities::KNOWN = T.let(T.unsafe(nil), Array)1221class Selenium::WebDriver::Remote::Driver < ::Selenium::WebDriver::Driver1222 include ::Selenium::WebDriver::DriverExtensions::UploadsFiles1223 include ::Selenium::WebDriver::DriverExtensions::HasSessionId1224 include ::Selenium::WebDriver::DriverExtensions::HasRemoteStatus1225 def initialize(bridge: T.unsafe(nil), listener: T.unsafe(nil), **opts); end1226 private1227 def devtools_url; end1228 def devtools_version; end1229end1230module Selenium::WebDriver::Remote::Http; end1231class Selenium::WebDriver::Remote::Http::Common1232 def call(verb, url, command_hash); end1233 def close; end1234 def quit_errors; end1235 def server_url=(_arg0); end1236 private1237 def create_response(code, body, content_type); end1238 def request(*_arg0); end1239 def server_url; end1240end1241Selenium::WebDriver::Remote::Http::Common::CONTENT_TYPE = T.let(T.unsafe(nil), String)1242Selenium::WebDriver::Remote::Http::Common::DEFAULT_HEADERS = T.let(T.unsafe(nil), Hash)1243Selenium::WebDriver::Remote::Http::Common::MAX_REDIRECTS = T.let(T.unsafe(nil), Integer)1244class Selenium::WebDriver::Remote::Http::Default < ::Selenium::WebDriver::Remote::Http::Common1245 def initialize(open_timeout: T.unsafe(nil), read_timeout: T.unsafe(nil)); end1246 def close; end1247 def open_timeout; end1248 def open_timeout=(_arg0); end1249 def proxy=(_arg0); end1250 def read_timeout; end1251 def read_timeout=(_arg0); end1252 private1253 def http; end1254 def new_http_client; end1255 def new_request_for(verb, url, headers, payload); end1256 def proxy; end1257 def request(verb, url, headers, payload, redirects = T.unsafe(nil)); end1258 def response_for(request); end1259 def start(http); end1260 def use_proxy?; end1261end1262Selenium::WebDriver::Remote::Http::Default::MAX_RETRIES = T.let(T.unsafe(nil), Integer)1263class Selenium::WebDriver::Remote::Response1264 def initialize(code, payload = T.unsafe(nil)); end1265 def [](key); end1266 def code; end1267 def error; end1268 def payload; end1269 private1270 def add_backtrace(ex, server_trace); end1271 def assert_ok; end1272 def backtrace_from_remote(server_trace); end1273 def process_error; end1274end1275module Selenium::WebDriver::Safari1276 class << self1277 def driver_path; end1278 def driver_path=(path); end1279 def path; end1280 def path=(path); end1281 def technology_preview; end1282 def technology_preview!; end1283 def technology_preview?; end1284 def use_technology_preview; end1285 def use_technology_preview=(_arg0); end1286 end1287end1288class Selenium::WebDriver::Safari::Driver < ::Selenium::WebDriver::Driver1289 def browser; end1290end1291Selenium::WebDriver::Safari::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)1292module Selenium::WebDriver::Safari::Features1293 def attach_debugger; end1294 def commands(command); end1295 def permissions; end1296 def permissions=(permissions); end1297end1298Selenium::WebDriver::Safari::Features::SAFARI_COMMANDS = T.let(T.unsafe(nil), Hash)1299class Selenium::WebDriver::Safari::Options < ::Selenium::WebDriver::Options1300 def add_option(name, value = T.unsafe(nil)); end1301 def options; end1302 def options=(_arg0); end1303end1304Selenium::WebDriver::Safari::Options::BROWSER = T.let(T.unsafe(nil), String)1305Selenium::WebDriver::Safari::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)1306class Selenium::WebDriver::Safari::Service < ::Selenium::WebDriver::Service; end1307Selenium::WebDriver::Safari::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)1308Selenium::WebDriver::Safari::Service::EXECUTABLE = T.let(T.unsafe(nil), String)1309Selenium::WebDriver::Safari::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)1310module Selenium::WebDriver::SearchContext1311 def find_element(*args); end1312 def find_elements(*args); end1313 private1314 def extract_args(args); end1315end1316Selenium::WebDriver::SearchContext::FINDERS = T.let(T.unsafe(nil), Hash)1317class Selenium::WebDriver::Service1318 def initialize(path: T.unsafe(nil), port: T.unsafe(nil), args: T.unsafe(nil)); end1319 def executable_path; end1320 def extra_args; end1321 def host; end1322 def host=(_arg0); end1323 def launch; end1324 def port; end1325 def shutdown_supported; end1326 protected1327 def extract_service_args(driver_opts); end1328 private1329 def binary_path(path = T.unsafe(nil)); end1330 class << self1331 def chrome(**opts); end1332 def driver_path; end1333 def driver_path=(path); end1334 def edge(**opts); end1335 def firefox(**opts); end1336 def ie(**opts); end1337 def internet_explorer(**opts); end1338 def microsoftedge(**opts); end1339 def safari(**opts); end1340 end1341end1342class Selenium::WebDriver::ServiceManager1343 def initialize(config); end1344 def start; end1345 def stop; end1346 def uri; end1347 private1348 def build_process(*command); end1349 def cannot_connect_error_text; end1350 def connect_to_server; end1351 def connect_until_stable; end1352 def find_free_port; end1353 def process_exited?; end1354 def process_running?; end1355 def socket_lock; end1356 def start_process; end1357 def stop_process; end1358 def stop_server; end1359end1360Selenium::WebDriver::ServiceManager::SOCKET_LOCK_TIMEOUT = T.let(T.unsafe(nil), Integer)1361Selenium::WebDriver::ServiceManager::START_TIMEOUT = T.let(T.unsafe(nil), Integer)1362Selenium::WebDriver::ServiceManager::STOP_TIMEOUT = T.let(T.unsafe(nil), Integer)1363class Selenium::WebDriver::ShadowRoot1364 include ::Selenium::WebDriver::SearchContext1365 def initialize(bridge, id); end1366 def ==(other); end1367 def as_json(*_arg0); end1368 def eql?(other); end1369 def hash; end1370 def inspect; end1371 def ref; end1372 def to_json(*_arg0); end1373 private1374 def bridge; end1375end1376Selenium::WebDriver::ShadowRoot::ROOT_KEY = T.let(T.unsafe(nil), String)1377class Selenium::WebDriver::SocketLock1378 def initialize(port, timeout); end1379 def locked; end1380 private1381 def can_lock?; end1382 def current_time; end1383 def did_lock?; end1384 def lock; end1385 def release; end1386end1387class Selenium::WebDriver::SocketPoller1388 def initialize(host, port, timeout = T.unsafe(nil), interval = T.unsafe(nil)); end1389 def closed?; end1390 def connected?; end1391 private1392 def conn_completed?(sock); end1393 def current_time; end1394 def listening?; end1395 def socket_writable?(sock); end1396 def with_timeout; end1397end1398Selenium::WebDriver::SocketPoller::CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1399Selenium::WebDriver::SocketPoller::CONNECT_TIMEOUT = T.let(T.unsafe(nil), Integer)1400Selenium::WebDriver::SocketPoller::NOT_CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1401module Selenium::WebDriver::Support; end1402class Selenium::WebDriver::Support::AbstractEventListener1403 def after_change_value_of(element, driver); end1404 def after_click(element, driver); end1405 def after_close(driver); end1406 def after_execute_script(script, driver); end1407 def after_find(by, what, driver); end1408 def after_navigate_back(driver); end1409 def after_navigate_forward(driver); end1410 def after_navigate_to(url, driver); end1411 def after_quit(driver); end1412 def before_change_value_of(element, driver); end1413 def before_click(element, driver); end1414 def before_close(driver); end1415 def before_execute_script(script, driver); end1416 def before_find(by, what, driver); end1417 def before_navigate_back(driver); end1418 def before_navigate_forward(driver); end1419 def before_navigate_to(url, driver); end1420 def before_quit(driver); end1421end1422class Selenium::WebDriver::Support::BlockEventListener1423 def initialize(callback); end1424 def method_missing(meth, *args); end1425end1426class Selenium::WebDriver::Support::Color1427 def initialize(red, green, blue, alpha = T.unsafe(nil)); end1428 def ==(other); end1429 def alpha; end1430 def blue; end1431 def eql?(other); end1432 def green; end1433 def hash; end1434 def hex; end1435 def red; end1436 def rgb; end1437 def rgba; end1438 class << self1439 def from_hsl(h, s, l, a); end1440 def from_string(str); end1441 def hue_to_rgb(lum1, lum2, hue); end1442 end1443end1444Selenium::WebDriver::Support::Color::HEX3_PATTERN = T.let(T.unsafe(nil), Regexp)1445Selenium::WebDriver::Support::Color::HEX_PATTERN = T.let(T.unsafe(nil), Regexp)1446Selenium::WebDriver::Support::Color::HSLA_PATTERN = T.let(T.unsafe(nil), Regexp)1447Selenium::WebDriver::Support::Color::HSL_PATTERN = T.let(T.unsafe(nil), Regexp)1448Selenium::WebDriver::Support::Color::RGBA_PATTERN = T.let(T.unsafe(nil), Regexp)1449Selenium::WebDriver::Support::Color::RGBA_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1450Selenium::WebDriver::Support::Color::RGB_PATTERN = T.let(T.unsafe(nil), Regexp)1451Selenium::WebDriver::Support::Color::RGB_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1452module Selenium::WebDriver::Support::Escaper1453 class << self1454 def escape(str); end1455 end1456end1457class Selenium::WebDriver::Support::EventFiringBridge1458 def initialize(delegate, listener); end1459 def clear_element(ref); end1460 def click_element(ref); end1461 def close; end1462 def execute_script(script, *args); end1463 def find_element_by(how, what, parent = T.unsafe(nil)); end1464 def find_elements_by(how, what, parent = T.unsafe(nil)); end1465 def get(url); end1466 def go_back; end1467 def go_forward; end1468 def quit; end1469 def send_keys_to_element(ref, keys); end1470 private1471 def create_element(ref); end1472 def dispatch(name, *args); end1473 def driver; end1474 def method_missing(meth, *args, &blk); end1475end1476class Selenium::WebDriver::Support::RelativeLocator1477 def initialize(locator); end1478 def as_json; end1479end1480Selenium::WebDriver::Support::RelativeLocator::KEYS = T.let(T.unsafe(nil), Array)1481class Selenium::WebDriver::Support::Select1482 def initialize(element); end1483 def deselect_all; end1484 def deselect_by(how, what); end1485 def first_selected_option; end1486 def multiple?; end1487 def options; end1488 def select_all; end1489 def select_by(how, what); end1490 def selected_options; end1491 private1492 def deselect_by_index(index); end1493 def deselect_by_text(text); end1494 def deselect_by_value(value); end1495 def deselect_option(option); end1496 def deselect_options(opts); end1497 def find_by_index(index); end1498 def find_by_text(text); end1499 def find_by_value(value); end1500 def select_by_index(index); end1501 def select_by_text(text); end1502 def select_by_value(value); end1503 def select_option(option); end1504 def select_options(opts); end1505end1506module Selenium::WebDriver::TakesScreenshot1507 def save_screenshot(png_path, full_page: T.unsafe(nil)); end1508 def screenshot_as(format, full_page: T.unsafe(nil)); end1509end1510class Selenium::WebDriver::TargetLocator1511 def initialize(bridge); end1512 def active_element; end1513 def alert; end1514 def default_content; end1515 def frame(id); end1516 def new_window(type = T.unsafe(nil)); end1517 def parent_frame; end1518 def window(id); end1519end1520class Selenium::WebDriver::Timeouts1521 def initialize(bridge); end1522 def implicit_wait; end1523 def implicit_wait=(seconds); end1524 def page_load; end1525 def page_load=(seconds); end1526 def script; end1527 def script=(seconds); end1528 def script_timeout; end1529 def script_timeout=(seconds); end1530end1531Selenium::WebDriver::VERSION = T.let(T.unsafe(nil), String)1532class Selenium::WebDriver::Wait1533 def initialize(opts = T.unsafe(nil)); end1534 def until; end1535 private1536 def current_time; end1537end1538Selenium::WebDriver::Wait::DEFAULT_INTERVAL = T.let(T.unsafe(nil), Float)1539Selenium::WebDriver::Wait::DEFAULT_TIMEOUT = T.let(T.unsafe(nil), Integer)1540class Selenium::WebDriver::Window1541 def initialize(bridge); end1542 def full_screen; end1543 def maximize; end1544 def minimize; end1545 def move_to(x, y); end1546 def position; end1547 def position=(point); end1548 def rect; end1549 def rect=(rectangle); end1550 def resize_to(width, height); end1551 def size; end1552 def size=(dimension); end1553end1554module Selenium::WebDriver::Zipper1555 class << self...

Full Screen

Full Screen

selenium-webdriver@4.0.3.rbi

Source:selenium-webdriver@4.0.3.rbi Github

copy

Full Screen

...12end13class Selenium::WebDriver::ActionBuilder14 include ::Selenium::WebDriver::KeyActions15 include ::Selenium::WebDriver::PointerActions16 def initialize(bridge, mouse, keyboard, async = T.unsafe(nil)); end17 def add_key_input(name); end18 def add_pointer_input(kind, name); end19 def clear_all_actions; end20 def devices; end21 def get_device(name); end22 def key_inputs; end23 def pause(device, duration = T.unsafe(nil)); end24 def pauses(device, number, duration = T.unsafe(nil)); end25 def perform; end26 def pointer_inputs; end27 def release_actions; end28 private29 def add_input(device); end30 def tick(*action_devices); end31end32class Selenium::WebDriver::Alert33 def initialize(bridge); end34 def accept; end35 def dismiss; end36 def send_keys(keys); end37 def text; end38end39module Selenium::WebDriver::Atoms40 private41 def execute_atom(function_name, *arguments); end42 def read_atom(function); end43end44module Selenium::WebDriver::Chrome45 class << self46 def driver_path; end47 def driver_path=(path); end48 def path; end49 def path=(path); end50 end51end52class Selenium::WebDriver::Chrome::Driver < ::Selenium::WebDriver::Driver53 def browser; end54 private55 def devtools_address; end56 def devtools_url; end57 def devtools_version; end58end59Selenium::WebDriver::Chrome::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)60module Selenium::WebDriver::Chrome::Features61 def available_log_types; end62 def cast_issue_message; end63 def cast_sink_to_use=(name); end64 def cast_sinks; end65 def commands(command); end66 def delete_network_conditions; end67 def launch_app(id); end68 def log(type); end69 def network_conditions; end70 def network_conditions=(conditions); end71 def send_command(command_params); end72 def set_permission(name, value); end73 def start_cast_tab_mirroring(name); end74 def stop_casting(name); end75end76Selenium::WebDriver::Chrome::Features::CHROME_COMMANDS = T.let(T.unsafe(nil), Hash)77class Selenium::WebDriver::Chrome::Options < ::Selenium::WebDriver::Options78 def initialize(profile: T.unsafe(nil), **opts); end79 def add_argument(arg); end80 def add_emulation(**opts); end81 def add_encoded_extension(encoded); end82 def add_extension(path); end83 def add_preference(name, value); end84 def enable_android(package: T.unsafe(nil), serial_number: T.unsafe(nil), use_running_app: T.unsafe(nil), activity: T.unsafe(nil)); end85 def extensions; end86 def extensions=(extensions); end87 def headless!; end88 def logging_prefs; end89 def logging_prefs=(_arg0); end90 def profile; end91 def profile=(_arg0); end92 private93 def binary_path; end94 def camelize?(key); end95 def enable_logging(browser_options); end96 def encode_extension(path); end97 def process_browser_options(browser_options); end98 def validate_extension(path); end99end100Selenium::WebDriver::Chrome::Options::BROWSER = T.let(T.unsafe(nil), String)101Selenium::WebDriver::Chrome::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)102Selenium::WebDriver::Chrome::Options::KEY = T.let(T.unsafe(nil), String)103class Selenium::WebDriver::Chrome::Profile104 include ::Selenium::WebDriver::ProfileHelper105 extend ::Selenium::WebDriver::ProfileHelper::ClassMethods106 def initialize(model = T.unsafe(nil)); end107 def [](key); end108 def []=(key, value); end109 def add_encoded_extension(encoded); end110 def add_extension(path); end111 def as_json(*_arg0); end112 def directory; end113 def layout_on_disk; end114 private115 def prefs; end116 def prefs_file_for(dir); end117 def read_model_prefs; end118 def write_prefs_to(dir); end119end120class Selenium::WebDriver::Chrome::Service < ::Selenium::WebDriver::Service121 private122 def extract_service_args(driver_opts); end123end124Selenium::WebDriver::Chrome::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)125Selenium::WebDriver::Chrome::Service::EXECUTABLE = T.let(T.unsafe(nil), String)126Selenium::WebDriver::Chrome::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)127Selenium::WebDriver::Chrome::Service::SHUTDOWN_SUPPORTED = T.let(T.unsafe(nil), TrueClass)128class Selenium::WebDriver::DevTools129 def initialize(url:); end130 def callbacks; end131 def close; end132 def method_missing(method, *_args); end133 def send_cmd(method, **params); end134 private135 def attach_socket_listener; end136 def callback_thread(params); end137 def error_message(error); end138 def incoming_frame; end139 def next_id; end140 def process_frame(frame); end141 def process_handshake; end142 def respond_to_missing?(method, *_args); end143 def socket; end144 def start_session; end145 def wait; end146 def ws; end147end148class Selenium::WebDriver::DevTools::ConsoleEvent149 def initialize(type:, timestamp:, args:); end150 def args; end151 def args=(_arg0); end152 def timestamp; end153 def timestamp=(_arg0); end154 def type; end155 def type=(_arg0); end156end157class Selenium::WebDriver::DevTools::ExceptionEvent158 def initialize(description:, timestamp:, stacktrace:); end159 def description; end160 def description=(_arg0); end161 def stacktrace; end162 def stacktrace=(_arg0); end163 def timestamp; end164 def timestamp=(_arg0); end165end166class Selenium::WebDriver::DevTools::MutationEvent167 def initialize(element:, attribute_name:, current_value:, old_value:); end168 def attribute_name; end169 def attribute_name=(_arg0); end170 def current_value; end171 def current_value=(_arg0); end172 def element; end173 def element=(_arg0); end174 def old_value; end175 def old_value=(_arg0); end176end177class Selenium::WebDriver::DevTools::PinnedScript178 def initialize(script); end179 def callable; end180 def devtools_identifier; end181 def devtools_identifier=(_arg0); end182 def key; end183 def key=(_arg0); end184 def remove; end185 def script; end186 def script=(_arg0); end187 def to_json(*_arg0); end188end189Selenium::WebDriver::DevTools::RESPONSE_WAIT_INTERVAL = T.let(T.unsafe(nil), Float)190Selenium::WebDriver::DevTools::RESPONSE_WAIT_TIMEOUT = T.let(T.unsafe(nil), Integer)191class Selenium::WebDriver::DevTools::Request192 def initialize(id:, url:, method:, headers:, post_data:); end193 def ==(other); end194 def headers; end195 def headers=(_arg0); end196 def id; end197 def inspect; end198 def method; end199 def method=(_arg0); end200 def post_data; end201 def post_data=(_arg0); end202 def url; end203 def url=(_arg0); end204 class << self205 def from(id, params); end206 end207end208class Selenium::WebDriver::DevTools::Response209 def initialize(id:, code:, body:, headers:); end210 def ==(other); end211 def body; end212 def body=(_arg0); end213 def code; end214 def code=(_arg0); end215 def headers; end216 def headers=(_arg0); end217 def id; end218 def inspect; end219 class << self220 def from(id, encoded_body, params); end221 end222end223class Selenium::WebDriver::Dimension < ::Struct224 def height; end225 def height=(_); end226 def width; end227 def width=(_); end228 class << self229 def [](*_arg0); end230 def inspect; end231 def members; end232 def new(*_arg0); end233 end234end235class Selenium::WebDriver::Driver236 include ::Selenium::WebDriver::SearchContext237 include ::Selenium::WebDriver::TakesScreenshot238 def initialize(bridge: T.unsafe(nil), listener: T.unsafe(nil), **opts); end239 def [](sel); end240 def action; end241 def all(*args); end242 def browser; end243 def capabilities; end244 def close; end245 def current_url; end246 def execute_async_script(script, *args); end247 def execute_script(script, *args); end248 def first(*args); end249 def get(url); end250 def inspect; end251 def keyboard; end252 def manage; end253 def mouse; end254 def navigate; end255 def page_source; end256 def quit; end257 def ref; end258 def script(script, *args); end259 def status; end260 def switch_to; end261 def title; end262 def window_handle; end263 def window_handles; end264 private265 def add_extensions(browser); end266 def bridge; end267 def create_bridge(**opts); end268 def generate_capabilities(cap_array); end269 def screenshot; end270 def service_url(opts); end271 class << self272 def for(browser, opts = T.unsafe(nil)); end273 end274end275module Selenium::WebDriver::DriverExtensions; end276module Selenium::WebDriver::DriverExtensions::DownloadsFiles277 def download_path=(path); end278end279module Selenium::WebDriver::DriverExtensions::FullPageScreenshot280 def save_full_page_screenshot(path); end281 private282 def full_screenshot; end283end284module Selenium::WebDriver::DriverExtensions::HasAddons285 def install_addon(path, temporary = T.unsafe(nil)); end286 def uninstall_addon(id); end287end288module Selenium::WebDriver::DriverExtensions::HasApplePermissions289 def permissions; end290 def permissions=(permissions); end291end292module Selenium::WebDriver::DriverExtensions::HasAuthentication293 def register(username:, password:, uri: T.unsafe(nil)); end294 private295 def auth_handlers; end296 def authenticate(request_id, url); end297end298module Selenium::WebDriver::DriverExtensions::HasCDP299 def execute_cdp(cmd, **params); end300end301module Selenium::WebDriver::DriverExtensions::HasCasting302 def cast_issue_message; end303 def cast_sink_to_use=(name); end304 def cast_sinks; end305 def start_cast_tab_mirroring(name); end306 def stop_casting(name); end307end308module Selenium::WebDriver::DriverExtensions::HasContext309 def context; end310 def context=(value); end311end312module Selenium::WebDriver::DriverExtensions::HasDebugger313 def attach_debugger; end314end315module Selenium::WebDriver::DriverExtensions::HasDevTools316 def devtools; end317end318module Selenium::WebDriver::DriverExtensions::HasLaunching319 def launch_app(id); end320end321module Selenium::WebDriver::DriverExtensions::HasLocation322 def location; end323 def location=(*_arg0); end324 def set_location; end325end326module Selenium::WebDriver::DriverExtensions::HasLogEvents327 include ::Selenium::WebDriver::Atoms328 def on_log_event(kind, &block); end329 private330 def log_console_events; end331 def log_exception_events; end332 def log_listeners; end333 def log_mutation_event(params); end334 def log_mutation_events; end335 def mutation_listener; end336end337Selenium::WebDriver::DriverExtensions::HasLogEvents::KINDS = T.let(T.unsafe(nil), Array)338module Selenium::WebDriver::DriverExtensions::HasLogs339 def logs; end340end341module Selenium::WebDriver::DriverExtensions::HasNetworkConditions342 def delete_network_conditions; end343 def network_conditions; end344 def network_conditions=(conditions); end345end346module Selenium::WebDriver::DriverExtensions::HasNetworkConnection347 def network_connection_type; end348 def network_connection_type=(*_arg0); end349end350module Selenium::WebDriver::DriverExtensions::HasNetworkInterception351 def intercept(&block); end352 private353 def fetch_response_body(id); end354 def intercept_request(id, params, &block); end355 def intercept_response(id, params); end356 def pending_response_requests; end357end358module Selenium::WebDriver::DriverExtensions::HasPermissions359 def add_permission(name, value); end360 def add_permissions(opt); end361end362module Selenium::WebDriver::DriverExtensions::HasPinnedScripts363 def pin_script(script); end364 def pinned_scripts; end365 def unpin_script(script); end366end367module Selenium::WebDriver::DriverExtensions::HasRemoteStatus368 def remote_status; end369end370module Selenium::WebDriver::DriverExtensions::HasSessionId371 def session_id; end372end373module Selenium::WebDriver::DriverExtensions::HasWebStorage374 def local_storage; end375 def session_storage; end376end377module Selenium::WebDriver::DriverExtensions::PrintsPage378 def print_page(**options); end379 def save_print_page(path, **options); end380end381module Selenium::WebDriver::DriverExtensions::UploadsFiles382 def file_detector=(detector); end383end384module Selenium::WebDriver::Edge385 class << self386 def path; end387 def path=(path); end388 end389end390class Selenium::WebDriver::Edge::Driver < ::Selenium::WebDriver::Chrome::Driver391 def browser; end392 private393 def devtools_address; end394end395module Selenium::WebDriver::Edge::Features396 include ::Selenium::WebDriver::Chrome::Features397 def commands(command); end398end399Selenium::WebDriver::Edge::Features::EDGE_COMMANDS = T.let(T.unsafe(nil), Hash)400class Selenium::WebDriver::Edge::Options < ::Selenium::WebDriver::Chrome::Options401 protected402 def enable_logging(browser_options); end403 private404 def binary_path; end405end406Selenium::WebDriver::Edge::Options::BROWSER = T.let(T.unsafe(nil), String)407Selenium::WebDriver::Edge::Options::KEY = T.let(T.unsafe(nil), String)408class Selenium::WebDriver::Edge::Profile < ::Selenium::WebDriver::Chrome::Profile; end409class Selenium::WebDriver::Edge::Service < ::Selenium::WebDriver::Chrome::Service; end410Selenium::WebDriver::Edge::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)411Selenium::WebDriver::Edge::Service::EXECUTABLE = T.let(T.unsafe(nil), String)412Selenium::WebDriver::Edge::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)413Selenium::WebDriver::Edge::Service::SHUTDOWN_SUPPORTED = T.let(T.unsafe(nil), TrueClass)414class Selenium::WebDriver::Element415 include ::Selenium::WebDriver::SearchContext416 include ::Selenium::WebDriver::TakesScreenshot417 def initialize(bridge, id); end418 def ==(other); end419 def [](name); end420 def accessible_name; end421 def all(*args); end422 def aria_role; end423 def as_json(*_arg0); end424 def attribute(name); end425 def clear; end426 def click; end427 def css_value(prop); end428 def displayed?; end429 def dom_attribute(name); end430 def enabled?; end431 def eql?(other); end432 def first(*args); end433 def hash; end434 def inspect; end435 def location; end436 def location_once_scrolled_into_view; end437 def property(name); end438 def rect; end439 def ref; end440 def selected?; end441 def send_key(*args); end442 def send_keys(*args); end443 def shadow_root; end444 def size; end445 def style(prop); end446 def submit; end447 def tag_name; end448 def text; end449 def to_json(*_arg0); end450 private451 def bridge; end452 def screenshot; end453 def selectable?; end454end455Selenium::WebDriver::Element::ELEMENT_KEY = T.let(T.unsafe(nil), String)456module Selenium::WebDriver::Error457 class << self458 def for_error(error); end459 end460end461class Selenium::WebDriver::Error::DetachedShadowRootError < ::Selenium::WebDriver::Error::WebDriverError; end462class Selenium::WebDriver::Error::ElementClickInterceptedError < ::Selenium::WebDriver::Error::WebDriverError; end463class Selenium::WebDriver::Error::ElementNotInteractableError < ::Selenium::WebDriver::Error::WebDriverError; end464class Selenium::WebDriver::Error::InsecureCertificateError < ::Selenium::WebDriver::Error::WebDriverError; end465class Selenium::WebDriver::Error::InvalidArgumentError < ::Selenium::WebDriver::Error::WebDriverError; end466class Selenium::WebDriver::Error::InvalidCookieDomainError < ::Selenium::WebDriver::Error::WebDriverError; end467class Selenium::WebDriver::Error::InvalidElementStateError < ::Selenium::WebDriver::Error::WebDriverError; end468class Selenium::WebDriver::Error::InvalidSelectorError < ::Selenium::WebDriver::Error::WebDriverError; end469class Selenium::WebDriver::Error::InvalidSessionIdError < ::Selenium::WebDriver::Error::WebDriverError; end470class Selenium::WebDriver::Error::JavascriptError < ::Selenium::WebDriver::Error::WebDriverError; end471class Selenium::WebDriver::Error::MoveTargetOutOfBoundsError < ::Selenium::WebDriver::Error::WebDriverError; end472class Selenium::WebDriver::Error::NoSuchAlertError < ::Selenium::WebDriver::Error::WebDriverError; end473class Selenium::WebDriver::Error::NoSuchCookieError < ::Selenium::WebDriver::Error::WebDriverError; end474class Selenium::WebDriver::Error::NoSuchElementError < ::Selenium::WebDriver::Error::WebDriverError; end475class Selenium::WebDriver::Error::NoSuchFrameError < ::Selenium::WebDriver::Error::WebDriverError; end476class Selenium::WebDriver::Error::NoSuchShadowRootError < ::Selenium::WebDriver::Error::WebDriverError; end477class Selenium::WebDriver::Error::NoSuchWindowError < ::Selenium::WebDriver::Error::WebDriverError; end478class Selenium::WebDriver::Error::ScriptTimeoutError < ::Selenium::WebDriver::Error::WebDriverError; end479class Selenium::WebDriver::Error::ServerError < ::StandardError480 def initialize(response); end481end482class Selenium::WebDriver::Error::SessionNotCreatedError < ::Selenium::WebDriver::Error::WebDriverError; end483class Selenium::WebDriver::Error::StaleElementReferenceError < ::Selenium::WebDriver::Error::WebDriverError; end484class Selenium::WebDriver::Error::TimeoutError < ::Selenium::WebDriver::Error::WebDriverError; end485class Selenium::WebDriver::Error::UnableToCaptureScreenError < ::Selenium::WebDriver::Error::WebDriverError; end486class Selenium::WebDriver::Error::UnableToSetCookieError < ::Selenium::WebDriver::Error::WebDriverError; end487class Selenium::WebDriver::Error::UnexpectedAlertOpenError < ::Selenium::WebDriver::Error::WebDriverError; end488class Selenium::WebDriver::Error::UnknownCommandError < ::Selenium::WebDriver::Error::WebDriverError; end489class Selenium::WebDriver::Error::UnknownError < ::Selenium::WebDriver::Error::WebDriverError; end490class Selenium::WebDriver::Error::UnknownMethodError < ::Selenium::WebDriver::Error::WebDriverError; end491class Selenium::WebDriver::Error::UnsupportedOperationError < ::Selenium::WebDriver::Error::WebDriverError; end492class Selenium::WebDriver::Error::WebDriverError < ::StandardError; end493module Selenium::WebDriver::FileReaper494 class << self495 def <<(file); end496 def reap(file); end497 def reap!; end498 def reap=(_arg0); end499 def reap?; end500 def tmp_files; end501 end502end503module Selenium::WebDriver::Firefox504 class << self505 def driver_path; end506 def driver_path=(path); end507 def path; end508 def path=(path); end509 end510end511Selenium::WebDriver::Firefox::DEFAULT_ASSUME_UNTRUSTED_ISSUER = T.let(T.unsafe(nil), TrueClass)512Selenium::WebDriver::Firefox::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)513Selenium::WebDriver::Firefox::DEVTOOLS_VERSION = T.let(T.unsafe(nil), Integer)514class Selenium::WebDriver::Firefox::Driver < ::Selenium::WebDriver::Driver515 def browser; end516 private517 def devtools_url; end518 def devtools_version; end519end520Selenium::WebDriver::Firefox::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)521class Selenium::WebDriver::Firefox::Extension522 def initialize(path); end523 def write_to(extensions_dir); end524 private525 def applications_gecko_id(manifest); end526 def create_root; end527 def name_and_version(manifest); end528 def read_id(directory); end529 def read_id_from_install_rdf(directory); end530 def read_id_from_manifest_json(directory); end531end532Selenium::WebDriver::Firefox::Extension::NAMESPACE = T.let(T.unsafe(nil), String)533module Selenium::WebDriver::Firefox::Features534 def commands(command); end535 def context; end536 def context=(context); end537 def full_screenshot; end538 def install_addon(path, temporary); end539 def uninstall_addon(id); end540end541Selenium::WebDriver::Firefox::Features::FIREFOX_COMMANDS = T.let(T.unsafe(nil), Hash)542class Selenium::WebDriver::Firefox::Options < ::Selenium::WebDriver::Options543 def initialize(log_level: T.unsafe(nil), **opts); end544 def add_argument(arg); end545 def add_preference(name, value); end546 def debugger_address; end547 def debugger_address=(_arg0); end548 def enable_android(package: T.unsafe(nil), serial_number: T.unsafe(nil), activity: T.unsafe(nil), intent_arguments: T.unsafe(nil)); end549 def headless!; end550 def log_level; end551 def log_level=(level); end552 def profile; end553 def profile=(profile); end554 private555 def camelize?(key); end556 def process_browser_options(browser_options); end557 def process_profile(profile); end558end559Selenium::WebDriver::Firefox::Options::BROWSER = T.let(T.unsafe(nil), String)560Selenium::WebDriver::Firefox::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)561Selenium::WebDriver::Firefox::Options::KEY = T.let(T.unsafe(nil), String)562class Selenium::WebDriver::Firefox::Profile563 include ::Selenium::WebDriver::ProfileHelper564 extend ::Selenium::WebDriver::ProfileHelper::ClassMethods565 def initialize(model = T.unsafe(nil)); end566 def []=(key, value); end567 def add_extension(path, name = T.unsafe(nil)); end568 def as_json; end569 def layout_on_disk; end570 def load_no_focus_lib=(_arg0); end571 def log_file; end572 def log_file=(file); end573 def name; end574 def port=(port); end575 def proxy=(proxy); end576 def secure_ssl=(_arg0); end577 private578 def delete_extensions_cache(directory); end579 def delete_lock_files(directory); end580 def extension_name_for(path); end581 def install_extensions(directory); end582 def read_model_prefs; end583 def read_user_prefs(path); end584 def set_manual_proxy_preference(key, value); end585 def stringified?(str); end586 def update_user_prefs_in(directory); end587 def write_prefs(prefs, path); end588 class << self589 def decoded(json); end590 def from_name(name); end591 def ini; end592 end593end594Selenium::WebDriver::Firefox::Profile::DEFAULT_PREFERENCES = T.let(T.unsafe(nil), Hash)595Selenium::WebDriver::Firefox::Profile::VALID_PREFERENCE_TYPES = T.let(T.unsafe(nil), Array)596class Selenium::WebDriver::Firefox::ProfilesIni597 def initialize; end598 def [](name); end599 def refresh; end600 private601 def parse; end602 def path_for(name, is_relative, path); end603end604class Selenium::WebDriver::Firefox::Service < ::Selenium::WebDriver::Service605 private606 def extract_service_args(driver_opts); end607end608Selenium::WebDriver::Firefox::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)609Selenium::WebDriver::Firefox::Service::EXECUTABLE = T.let(T.unsafe(nil), String)610Selenium::WebDriver::Firefox::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)611module Selenium::WebDriver::HTML5; end612class Selenium::WebDriver::HTML5::LocalStorage613 include ::Enumerable614 include ::Selenium::WebDriver::HTML5::SharedWebStorage615 def initialize(bridge); end616 def [](key); end617 def []=(key, value); end618 def clear; end619 def delete(key); end620 def keys; end621 def size; end622end623class Selenium::WebDriver::HTML5::SessionStorage624 include ::Enumerable625 include ::Selenium::WebDriver::HTML5::SharedWebStorage626 def initialize(bridge); end627 def [](key); end628 def []=(key, value); end629 def clear; end630 def delete(key); end631 def keys; end632 def size; end633end634module Selenium::WebDriver::HTML5::SharedWebStorage635 include ::Enumerable636 def each; end637 def empty?; end638 def fetch(key); end639 def has_key?(key); end640 def key?(key); end641 def member?(key); end642end643module Selenium::WebDriver::IE644 class << self645 def driver_path; end646 def driver_path=(path); end647 end648end649class Selenium::WebDriver::IE::Driver < ::Selenium::WebDriver::Driver650 def browser; end651end652Selenium::WebDriver::IE::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)653class Selenium::WebDriver::IE::Options < ::Selenium::WebDriver::Options654 def initialize(**opts); end655 def add_argument(arg); end656 def args; end657 private658 def process_browser_options(browser_options); end659end660Selenium::WebDriver::IE::Options::BROWSER = T.let(T.unsafe(nil), String)661Selenium::WebDriver::IE::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)662Selenium::WebDriver::IE::Options::KEY = T.let(T.unsafe(nil), String)663Selenium::WebDriver::IE::Options::SCROLL_BOTTOM = T.let(T.unsafe(nil), Integer)664Selenium::WebDriver::IE::Options::SCROLL_TOP = T.let(T.unsafe(nil), Integer)665class Selenium::WebDriver::IE::Service < ::Selenium::WebDriver::Service666 private667 def extract_service_args(driver_opts); end668end669Selenium::WebDriver::IE::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)670Selenium::WebDriver::IE::Service::EXECUTABLE = T.let(T.unsafe(nil), String)671Selenium::WebDriver::IE::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)672Selenium::WebDriver::IE::Service::SHUTDOWN_SUPPORTED = T.let(T.unsafe(nil), TrueClass)673module Selenium::WebDriver::Interactions674 class << self675 def key(name); end676 def none(name = T.unsafe(nil)); end677 def pointer(kind, **kwargs); end678 end679end680class Selenium::WebDriver::Interactions::InputDevice681 def initialize(name = T.unsafe(nil)); end682 def actions; end683 def add_action(action); end684 def clear_actions; end685 def create_pause(duration = T.unsafe(nil)); end686 def name; end687 def no_actions?; end688end689class Selenium::WebDriver::Interactions::Interaction690 def initialize(source); end691 def source; end692end693Selenium::WebDriver::Interactions::Interaction::PAUSE = T.let(T.unsafe(nil), Symbol)694Selenium::WebDriver::Interactions::KEY = T.let(T.unsafe(nil), Symbol)695class Selenium::WebDriver::Interactions::KeyInput < ::Selenium::WebDriver::Interactions::InputDevice696 def create_key_down(key); end697 def create_key_up(key); end698 def encode; end699 def type; end700end701Selenium::WebDriver::Interactions::KeyInput::SUBTYPES = T.let(T.unsafe(nil), Hash)702class Selenium::WebDriver::Interactions::KeyInput::TypingInteraction < ::Selenium::WebDriver::Interactions::Interaction703 def initialize(source, type, key); end704 def assert_type(type); end705 def encode; end706 def type; end707end708Selenium::WebDriver::Interactions::NONE = T.let(T.unsafe(nil), Symbol)709class Selenium::WebDriver::Interactions::NoneInput < ::Selenium::WebDriver::Interactions::InputDevice710 def encode; end711 def type; end712end713Selenium::WebDriver::Interactions::POINTER = T.let(T.unsafe(nil), Symbol)714class Selenium::WebDriver::Interactions::Pause < ::Selenium::WebDriver::Interactions::Interaction715 def initialize(source, duration = T.unsafe(nil)); end716 def encode; end717 def type; end718end719class Selenium::WebDriver::Interactions::PointerCancel < ::Selenium::WebDriver::Interactions::Interaction720 def encode; end721 def type; end722end723class Selenium::WebDriver::Interactions::PointerInput < ::Selenium::WebDriver::Interactions::InputDevice724 def initialize(kind, name: T.unsafe(nil)); end725 def assert_kind(pointer); end726 def create_pointer_cancel; end727 def create_pointer_down(button); end728 def create_pointer_move(duration: T.unsafe(nil), x: T.unsafe(nil), y: T.unsafe(nil), element: T.unsafe(nil), origin: T.unsafe(nil)); end729 def create_pointer_up(button); end730 def encode; end731 def kind; end732 def type; end733end734Selenium::WebDriver::Interactions::PointerInput::KIND = T.let(T.unsafe(nil), Hash)735class Selenium::WebDriver::Interactions::PointerMove < ::Selenium::WebDriver::Interactions::Interaction736 def initialize(source, duration, x, y, element: T.unsafe(nil), origin: T.unsafe(nil)); end737 def encode; end738 def type; end739end740Selenium::WebDriver::Interactions::PointerMove::ORIGINS = T.let(T.unsafe(nil), Array)741Selenium::WebDriver::Interactions::PointerMove::POINTER = T.let(T.unsafe(nil), Symbol)742Selenium::WebDriver::Interactions::PointerMove::VIEWPORT = T.let(T.unsafe(nil), Symbol)743class Selenium::WebDriver::Interactions::PointerPress < ::Selenium::WebDriver::Interactions::Interaction744 def initialize(source, direction, button); end745 def assert_button(button); end746 def assert_direction(direction); end747 def encode; end748 def type; end749end750Selenium::WebDriver::Interactions::PointerPress::BUTTONS = T.let(T.unsafe(nil), Hash)751Selenium::WebDriver::Interactions::PointerPress::DIRECTIONS = T.let(T.unsafe(nil), Hash)752Selenium::WebDriver::Interactions::SOURCE_TYPES = T.let(T.unsafe(nil), Array)753module Selenium::WebDriver::KeyActions754 def key_down(*args, device: T.unsafe(nil)); end755 def key_up(*args, device: T.unsafe(nil)); end756 def send_keys(*args, device: T.unsafe(nil)); end757 private758 def key_action(*args, action: T.unsafe(nil), device: T.unsafe(nil)); end759end760module Selenium::WebDriver::Keys761 class << self762 def [](key); end763 def encode(keys); end764 def encode_key(key); end765 end766end767Selenium::WebDriver::Keys::KEYS = T.let(T.unsafe(nil), Hash)768class Selenium::WebDriver::Location < ::Struct769 def altitude; end770 def altitude=(_); end771 def latitude; end772 def latitude=(_); end773 def longitude; end774 def longitude=(_); end775 class << self776 def [](*_arg0); end777 def inspect; end778 def members; end779 def new(*_arg0); end780 end781end782class Selenium::WebDriver::LogEntry783 def initialize(level, timestamp, message); end784 def as_json(*_arg0); end785 def level; end786 def message; end787 def time; end788 def timestamp; end789 def to_s; end790end791class Selenium::WebDriver::Logger792 extend ::Forwardable793 def initialize(progname = T.unsafe(nil)); end794 def close(*args, &block); end795 def debug(*args, &block); end796 def debug?(*args, &block); end797 def deprecate(old, new = T.unsafe(nil), id: T.unsafe(nil), reference: T.unsafe(nil), &block); end798 def error(*args, &block); end799 def error?(*args, &block); end800 def fatal(*args, &block); end801 def fatal?(*args, &block); end802 def ignore(id); end803 def info(*args, &block); end804 def info?(*args, &block); end805 def io; end806 def level(*args, &block); end807 def level=(*args, &block); end808 def output=(io); end809 def warn(message, id: T.unsafe(nil)); end810 def warn?(*args, &block); end811 private812 def create_logger(name); end813 def default_level; end814end815class Selenium::WebDriver::Logs816 def initialize(bridge); end817 def available_types; end818 def get(type); end819end820class Selenium::WebDriver::Manager821 def initialize(bridge); end822 def add_cookie(opts = T.unsafe(nil)); end823 def all_cookies; end824 def cookie_named(name); end825 def delete_all_cookies; end826 def delete_cookie(name); end827 def logs; end828 def new_window(type = T.unsafe(nil)); end829 def timeouts; end830 def window; end831 private832 def convert_cookie(cookie); end833 def datetime_at(int); end834 def seconds_from(obj); end835 def strip_port(str); end836end837Selenium::WebDriver::Manager::SECONDS_PER_DAY = T.let(T.unsafe(nil), Float)838class Selenium::WebDriver::Navigation839 def initialize(bridge); end840 def back; end841 def forward; end842 def refresh; end843 def to(url); end844end845class Selenium::WebDriver::Options846 def initialize(options: T.unsafe(nil), **opts); end847 def ==(other); end848 def add_option(name, value = T.unsafe(nil)); end849 def as_json(*_arg0); end850 def eql?(other); end851 def options; end852 def options=(_arg0); end853 private854 def camel_case(str); end855 def camelize?(_key); end856 def convert_json_key(key, camelize: T.unsafe(nil)); end857 def generate_as_json(value, camelize_keys: T.unsafe(nil)); end858 def process_browser_options(_browser_options); end859 def process_json_hash(value, camelize_keys); end860 def process_w3c_options(options); end861 def w3c?(key); end862 class << self863 def chrome(**opts); end864 def driver_path; end865 def edge(**opts); end866 def firefox(**opts); end867 def ie(**opts); end868 def internet_explorer(**opts); end869 def microsoftedge(**opts); end870 def safari(**opts); end871 def set_capabilities; end872 end873end874Selenium::WebDriver::Options::W3C_OPTIONS = T.let(T.unsafe(nil), Array)875module Selenium::WebDriver::Platform876 private877 def assert_executable(path); end878 def assert_file(path); end879 def bitsize; end880 def ci; end881 def cygwin?; end882 def cygwin_path(path, **opts); end883 def engine; end884 def exit_hook; end885 def find_binary(*binary_names); end886 def find_in_program_files(*binary_names); end887 def home; end888 def interfaces; end889 def ip; end890 def jruby?; end891 def linux?; end892 def localhost; end893 def mac?; end894 def make_writable(file); end895 def null_device; end896 def os; end897 def ruby_version; end898 def unix_path(path); end899 def windows?; end900 def windows_path(path); end901 def wrap_in_quotes_if_necessary(str); end902 def wsl?; end903 class << self904 def assert_executable(path); end905 def assert_file(path); end906 def bitsize; end907 def ci; end908 def cygwin?; end909 def cygwin_path(path, **opts); end910 def engine; end911 def exit_hook; end912 def find_binary(*binary_names); end913 def find_in_program_files(*binary_names); end914 def home; end915 def interfaces; end916 def ip; end917 def jruby?; end918 def linux?; end919 def localhost; end920 def mac?; end921 def make_writable(file); end922 def null_device; end923 def os; end924 def ruby_version; end925 def unix_path(path); end926 def windows?; end927 def windows_path(path); end928 def wrap_in_quotes_if_necessary(str); end929 def wsl?; end930 end931end932class Selenium::WebDriver::Point < ::Struct933 def x; end934 def x=(_); end935 def y; end936 def y=(_); end937 class << self938 def [](*_arg0); end939 def inspect; end940 def members; end941 def new(*_arg0); end942 end943end944module Selenium::WebDriver::PointerActions945 def click(element = T.unsafe(nil), device: T.unsafe(nil)); end946 def click_and_hold(element = T.unsafe(nil), device: T.unsafe(nil)); end947 def context_click(element = T.unsafe(nil), device: T.unsafe(nil)); end948 def default_move_duration; end949 def default_move_duration=(_arg0); end950 def double_click(element = T.unsafe(nil), device: T.unsafe(nil)); end951 def drag_and_drop(source, target, device: T.unsafe(nil)); end952 def drag_and_drop_by(source, right_by, down_by, device: T.unsafe(nil)); end953 def move_by(right_by, down_by, device: T.unsafe(nil)); end954 def move_to(element, right_by = T.unsafe(nil), down_by = T.unsafe(nil), device: T.unsafe(nil)); end955 def move_to_location(x, y, device: T.unsafe(nil)); end956 def pointer_down(button, device: T.unsafe(nil)); end957 def pointer_up(button, device: T.unsafe(nil)); end958 def release(device: T.unsafe(nil)); end959 private960 def button_action(button, action: T.unsafe(nil), device: T.unsafe(nil)); end961 def get_pointer(device = T.unsafe(nil)); end962end963class Selenium::WebDriver::PortProber964 class << self965 def above(port); end966 def free?(port); end967 end968end969Selenium::WebDriver::PortProber::IGNORED_ERRORS = T.let(T.unsafe(nil), Array)970module Selenium::WebDriver::ProfileHelper971 mixes_in_class_methods ::Selenium::WebDriver::ProfileHelper::ClassMethods972 def as_json(*_arg0); end973 def encoded; end974 def to_json(*_arg0); end975 private976 def create_tmp_copy(directory); end977 def verify_model(model); end978 class << self979 def decoded(json); end980 def included(base); end981 end982end983module Selenium::WebDriver::ProfileHelper::ClassMethods984 def from_json(json); end985end986class Selenium::WebDriver::Proxy987 def initialize(opts = T.unsafe(nil)); end988 def ==(other); end989 def as_json(*_arg0); end990 def auto_detect; end991 def auto_detect=(bool); end992 def eql?(other); end993 def ftp; end994 def ftp=(value); end995 def http; end996 def http=(value); end997 def no_proxy; end998 def no_proxy=(value); end999 def pac; end1000 def pac=(url); end1001 def socks; end1002 def socks=(value); end1003 def socks_password; end1004 def socks_password=(value); end1005 def socks_username; end1006 def socks_username=(value); end1007 def socks_version; end1008 def socks_version=(value); end1009 def ssl; end1010 def ssl=(value); end1011 def to_json(*_arg0); end1012 def type; end1013 def type=(type); end1014 class << self1015 def json_create(data); end1016 end1017end1018Selenium::WebDriver::Proxy::ALLOWED = T.let(T.unsafe(nil), Hash)1019Selenium::WebDriver::Proxy::TYPES = T.let(T.unsafe(nil), Hash)1020class Selenium::WebDriver::Rectangle < ::Struct1021 def height; end1022 def height=(_); end1023 def width; end1024 def width=(_); end1025 def x; end1026 def x=(_); end1027 def y; end1028 def y=(_); end1029 class << self1030 def [](*_arg0); end1031 def inspect; end1032 def members; end1033 def new(*_arg0); end1034 end1035end1036module Selenium::WebDriver::Remote; end1037class Selenium::WebDriver::Remote::Bridge1038 include ::Selenium::WebDriver::Atoms1039 def initialize(url:, http_client: T.unsafe(nil)); end1040 def accept_alert; end1041 def action(async = T.unsafe(nil)); end1042 def actions(async = T.unsafe(nil)); end1043 def active_element; end1044 def add_cookie(cookie); end1045 def alert=(keys); end1046 def alert_text; end1047 def browser; end1048 def capabilities; end1049 def clear_element(element); end1050 def clear_local_storage; end1051 def clear_session_storage; end1052 def click_element(element); end1053 def close; end1054 def cookie(name); end1055 def cookies; end1056 def create_session(capabilities); end1057 def delete_all_cookies; end1058 def delete_cookie(name); end1059 def dismiss_alert; end1060 def element_aria_label(element); end1061 def element_aria_role(element); end1062 def element_attribute(element, name); end1063 def element_displayed?(element); end1064 def element_dom_attribute(element, name); end1065 def element_enabled?(element); end1066 def element_location(element); end1067 def element_location_once_scrolled_into_view(element); end1068 def element_property(element, name); end1069 def element_rect(element); end1070 def element_screenshot(element); end1071 def element_selected?(element); end1072 def element_size(element); end1073 def element_tag_name(element); end1074 def element_text(element); end1075 def element_value(element); end1076 def element_value_of_css_property(element, prop); end1077 def execute_async_script(script, *args); end1078 def execute_script(script, *args); end1079 def file_detector; end1080 def file_detector=(_arg0); end1081 def find_element_by(how, what, parent_ref = T.unsafe(nil)); end1082 def find_elements_by(how, what, parent_ref = T.unsafe(nil)); end1083 def full_screen_window; end1084 def get(url); end1085 def go_back; end1086 def go_forward; end1087 def http; end1088 def http=(_arg0); end1089 def keyboard; end1090 def local_storage_item(key, value = T.unsafe(nil)); end1091 def local_storage_keys; end1092 def local_storage_size; end1093 def manage; end1094 def maximize_window(handle = T.unsafe(nil)); end1095 def minimize_window; end1096 def mouse; end1097 def new_window(type); end1098 def page_source; end1099 def print_page(options = T.unsafe(nil)); end1100 def quit; end1101 def refresh; end1102 def release_actions; end1103 def remove_local_storage_item(key); end1104 def remove_session_storage_item(key); end1105 def reposition_window(x, y); end1106 def resize_window(width, height, handle = T.unsafe(nil)); end1107 def screenshot; end1108 def send_actions(data); end1109 def send_keys_to_element(element, keys); end1110 def session_id; end1111 def session_storage_item(key, value = T.unsafe(nil)); end1112 def session_storage_keys; end1113 def session_storage_size; end1114 def set_window_rect(x: T.unsafe(nil), y: T.unsafe(nil), width: T.unsafe(nil), height: T.unsafe(nil)); end1115 def shadow_root(element); end1116 def status; end1117 def submit_element(element); end1118 def switch_to_active_element; end1119 def switch_to_default_content; end1120 def switch_to_frame(id); end1121 def switch_to_parent_frame; end1122 def switch_to_window(name); end1123 def timeouts; end1124 def timeouts=(timeouts); end1125 def title; end1126 def upload(local_file); end1127 def url; end1128 def window_handle; end1129 def window_handles; end1130 def window_position; end1131 def window_rect; end1132 def window_size(handle = T.unsafe(nil)); end1133 private1134 def commands(command); end1135 def convert_locator(how, what); end1136 def element_id_from(id); end1137 def escape_css(string); end1138 def escaper; end1139 def execute(command, opts = T.unsafe(nil), command_hash = T.unsafe(nil)); end1140 def prepare_capabilities_payload(capabilities); end1141 def shadow_root_id_from(id); end1142 def unwrap_script_result(arg); end1143end1144Selenium::WebDriver::Remote::Bridge::COMMANDS = T.let(T.unsafe(nil), Hash)1145Selenium::WebDriver::Remote::Bridge::ESCAPE_CSS_REGEXP = T.let(T.unsafe(nil), Regexp)1146Selenium::WebDriver::Remote::Bridge::PORT = T.let(T.unsafe(nil), Integer)1147Selenium::WebDriver::Remote::Bridge::QUIT_ERRORS = T.let(T.unsafe(nil), Array)1148Selenium::WebDriver::Remote::Bridge::UNICODE_CODE_POINT = T.let(T.unsafe(nil), Integer)1149class Selenium::WebDriver::Remote::Capabilities1150 def initialize(opts = T.unsafe(nil)); end1151 def ==(other); end1152 def [](key); end1153 def []=(key, value); end1154 def accept_insecure_certs; end1155 def accept_insecure_certs=(value); end1156 def as_json(*_arg0); end1157 def browser_name; end1158 def browser_name=(value); end1159 def browser_version; end1160 def browser_version=(value); end1161 def eql?(other); end1162 def implicit_timeout; end1163 def implicit_timeout=(timeout); end1164 def merge!(other); end1165 def page_load_strategy; end1166 def page_load_strategy=(value); end1167 def page_load_timeout; end1168 def page_load_timeout=(timeout); end1169 def platform; end1170 def platform=(value); end1171 def platform_name; end1172 def platform_name=(value); end1173 def proxy; end1174 def proxy=(proxy); end1175 def remote_session_id; end1176 def remote_session_id=(value); end1177 def script_timeout; end1178 def script_timeout=(timeout); end1179 def set_window_rect; end1180 def set_window_rect=(value); end1181 def strict_file_interactability; end1182 def strict_file_interactability=(value); end1183 def timeouts; end1184 def timeouts=(timeouts); end1185 def to_json(*_arg0); end1186 def unhandled_prompt_behavior; end1187 def unhandled_prompt_behavior=(value); end1188 def version; end1189 def version=(value); end1190 def web_socket_url; end1191 def web_socket_url=(value); end1192 protected1193 def capabilities; end1194 private1195 def convert_key(key); end1196 def convert_value(key, value); end1197 def process_capabilities(key, value, hash); end1198 class << self1199 def always_match(capabilities); end1200 def camel_case(str_or_sym); end1201 def chrome(opts = T.unsafe(nil)); end1202 def edge(opts = T.unsafe(nil)); end1203 def ff(opts = T.unsafe(nil)); end1204 def firefox(opts = T.unsafe(nil)); end1205 def first_match(*capabilities); end1206 def htmlunit(opts = T.unsafe(nil)); end1207 def ie(opts = T.unsafe(nil)); end1208 def internet_explorer(opts = T.unsafe(nil)); end1209 def json_create(data); end1210 def microsoftedge(opts = T.unsafe(nil)); end1211 def safari(opts = T.unsafe(nil)); end1212 private1213 def process_timeouts(caps, timeouts); end1214 end1215end1216Selenium::WebDriver::Remote::Capabilities::KNOWN = T.let(T.unsafe(nil), Array)1217class Selenium::WebDriver::Remote::Driver < ::Selenium::WebDriver::Driver1218 include ::Selenium::WebDriver::DriverExtensions::UploadsFiles1219 include ::Selenium::WebDriver::DriverExtensions::HasSessionId1220 include ::Selenium::WebDriver::DriverExtensions::HasRemoteStatus1221 def initialize(bridge: T.unsafe(nil), listener: T.unsafe(nil), **opts); end1222 private1223 def devtools_url; end1224 def devtools_version; end1225end1226module Selenium::WebDriver::Remote::Http; end1227class Selenium::WebDriver::Remote::Http::Common1228 def call(verb, url, command_hash); end1229 def close; end1230 def quit_errors; end1231 def server_url=(_arg0); end1232 private1233 def create_response(code, body, content_type); end1234 def request(*_arg0); end1235 def server_url; end1236end1237Selenium::WebDriver::Remote::Http::Common::CONTENT_TYPE = T.let(T.unsafe(nil), String)1238Selenium::WebDriver::Remote::Http::Common::DEFAULT_HEADERS = T.let(T.unsafe(nil), Hash)1239Selenium::WebDriver::Remote::Http::Common::MAX_REDIRECTS = T.let(T.unsafe(nil), Integer)1240class Selenium::WebDriver::Remote::Http::Default < ::Selenium::WebDriver::Remote::Http::Common1241 def initialize(open_timeout: T.unsafe(nil), read_timeout: T.unsafe(nil)); end1242 def close; end1243 def open_timeout; end1244 def open_timeout=(_arg0); end1245 def proxy=(_arg0); end1246 def read_timeout; end1247 def read_timeout=(_arg0); end1248 private1249 def http; end1250 def new_http_client; end1251 def new_request_for(verb, url, headers, payload); end1252 def proxy; end1253 def request(verb, url, headers, payload, redirects = T.unsafe(nil)); end1254 def response_for(request); end1255 def start(http); end1256 def use_proxy?; end1257end1258Selenium::WebDriver::Remote::Http::Default::MAX_RETRIES = T.let(T.unsafe(nil), Integer)1259class Selenium::WebDriver::Remote::Response1260 def initialize(code, payload = T.unsafe(nil)); end1261 def [](key); end1262 def code; end1263 def error; end1264 def payload; end1265 private1266 def add_backtrace(ex, server_trace); end1267 def assert_ok; end1268 def backtrace_from_remote(server_trace); end1269 def process_error; end1270end1271module Selenium::WebDriver::Safari1272 class << self1273 def driver_path; end1274 def driver_path=(path); end1275 def path; end1276 def path=(path); end1277 def technology_preview; end1278 def technology_preview!; end1279 def technology_preview?; end1280 def use_technology_preview; end1281 def use_technology_preview=(_arg0); end1282 end1283end1284class Selenium::WebDriver::Safari::Driver < ::Selenium::WebDriver::Driver1285 def browser; end1286end1287Selenium::WebDriver::Safari::Driver::EXTENSIONS = T.let(T.unsafe(nil), Array)1288module Selenium::WebDriver::Safari::Features1289 def attach_debugger; end1290 def commands(command); end1291 def permissions; end1292 def permissions=(permissions); end1293end1294Selenium::WebDriver::Safari::Features::SAFARI_COMMANDS = T.let(T.unsafe(nil), Hash)1295class Selenium::WebDriver::Safari::Options < ::Selenium::WebDriver::Options1296 def add_option(name, value = T.unsafe(nil)); end1297 def options; end1298 def options=(_arg0); end1299end1300Selenium::WebDriver::Safari::Options::BROWSER = T.let(T.unsafe(nil), String)1301Selenium::WebDriver::Safari::Options::CAPABILITIES = T.let(T.unsafe(nil), Hash)1302class Selenium::WebDriver::Safari::Service < ::Selenium::WebDriver::Service; end1303Selenium::WebDriver::Safari::Service::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)1304Selenium::WebDriver::Safari::Service::EXECUTABLE = T.let(T.unsafe(nil), String)1305Selenium::WebDriver::Safari::Service::MISSING_TEXT = T.let(T.unsafe(nil), String)1306module Selenium::WebDriver::SearchContext1307 def find_element(*args); end1308 def find_elements(*args); end1309 private1310 def extract_args(args); end1311end1312Selenium::WebDriver::SearchContext::FINDERS = T.let(T.unsafe(nil), Hash)1313class Selenium::WebDriver::Service1314 def initialize(path: T.unsafe(nil), port: T.unsafe(nil), args: T.unsafe(nil)); end1315 def executable_path; end1316 def extra_args; end1317 def host; end1318 def host=(_arg0); end1319 def launch; end1320 def port; end1321 def shutdown_supported; end1322 protected1323 def extract_service_args(driver_opts); end1324 private1325 def binary_path(path = T.unsafe(nil)); end1326 class << self1327 def chrome(**opts); end1328 def driver_path; end1329 def driver_path=(path); end1330 def edge(**opts); end1331 def firefox(**opts); end1332 def ie(**opts); end1333 def internet_explorer(**opts); end1334 def microsoftedge(**opts); end1335 def safari(**opts); end1336 end1337end1338class Selenium::WebDriver::ServiceManager1339 def initialize(config); end1340 def start; end1341 def stop; end1342 def uri; end1343 private1344 def build_process(*command); end1345 def cannot_connect_error_text; end1346 def connect_to_server; end1347 def connect_until_stable; end1348 def find_free_port; end1349 def process_exited?; end1350 def process_running?; end1351 def socket_lock; end1352 def start_process; end1353 def stop_process; end1354 def stop_server; end1355end1356Selenium::WebDriver::ServiceManager::SOCKET_LOCK_TIMEOUT = T.let(T.unsafe(nil), Integer)1357Selenium::WebDriver::ServiceManager::START_TIMEOUT = T.let(T.unsafe(nil), Integer)1358Selenium::WebDriver::ServiceManager::STOP_TIMEOUT = T.let(T.unsafe(nil), Integer)1359class Selenium::WebDriver::ShadowRoot1360 include ::Selenium::WebDriver::SearchContext1361 def initialize(bridge, id); end1362 def ==(other); end1363 def as_json(*_arg0); end1364 def eql?(other); end1365 def hash; end1366 def inspect; end1367 def ref; end1368 def to_json(*_arg0); end1369 private1370 def bridge; end1371end1372Selenium::WebDriver::ShadowRoot::ROOT_KEY = T.let(T.unsafe(nil), String)1373class Selenium::WebDriver::SocketLock1374 def initialize(port, timeout); end1375 def locked; end1376 private1377 def can_lock?; end1378 def current_time; end1379 def did_lock?; end1380 def lock; end1381 def release; end1382end1383class Selenium::WebDriver::SocketPoller1384 def initialize(host, port, timeout = T.unsafe(nil), interval = T.unsafe(nil)); end1385 def closed?; end1386 def connected?; end1387 private1388 def conn_completed?(sock); end1389 def current_time; end1390 def listening?; end1391 def socket_writable?(sock); end1392 def with_timeout; end1393end1394Selenium::WebDriver::SocketPoller::CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1395Selenium::WebDriver::SocketPoller::CONNECT_TIMEOUT = T.let(T.unsafe(nil), Integer)1396Selenium::WebDriver::SocketPoller::NOT_CONNECTED_ERRORS = T.let(T.unsafe(nil), Array)1397module Selenium::WebDriver::Support; end1398class Selenium::WebDriver::Support::AbstractEventListener1399 def after_change_value_of(element, driver); end1400 def after_click(element, driver); end1401 def after_close(driver); end1402 def after_execute_script(script, driver); end1403 def after_find(by, what, driver); end1404 def after_navigate_back(driver); end1405 def after_navigate_forward(driver); end1406 def after_navigate_to(url, driver); end1407 def after_quit(driver); end1408 def before_change_value_of(element, driver); end1409 def before_click(element, driver); end1410 def before_close(driver); end1411 def before_execute_script(script, driver); end1412 def before_find(by, what, driver); end1413 def before_navigate_back(driver); end1414 def before_navigate_forward(driver); end1415 def before_navigate_to(url, driver); end1416 def before_quit(driver); end1417end1418class Selenium::WebDriver::Support::BlockEventListener1419 def initialize(callback); end1420 def method_missing(meth, *args); end1421end1422class Selenium::WebDriver::Support::Color1423 def initialize(red, green, blue, alpha = T.unsafe(nil)); end1424 def ==(other); end1425 def alpha; end1426 def blue; end1427 def eql?(other); end1428 def green; end1429 def hash; end1430 def hex; end1431 def red; end1432 def rgb; end1433 def rgba; end1434 class << self1435 def from_hsl(h, s, l, a); end1436 def from_string(str); end1437 def hue_to_rgb(lum1, lum2, hue); end1438 end1439end1440Selenium::WebDriver::Support::Color::HEX3_PATTERN = T.let(T.unsafe(nil), Regexp)1441Selenium::WebDriver::Support::Color::HEX_PATTERN = T.let(T.unsafe(nil), Regexp)1442Selenium::WebDriver::Support::Color::HSLA_PATTERN = T.let(T.unsafe(nil), Regexp)1443Selenium::WebDriver::Support::Color::HSL_PATTERN = T.let(T.unsafe(nil), Regexp)1444Selenium::WebDriver::Support::Color::RGBA_PATTERN = T.let(T.unsafe(nil), Regexp)1445Selenium::WebDriver::Support::Color::RGBA_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1446Selenium::WebDriver::Support::Color::RGB_PATTERN = T.let(T.unsafe(nil), Regexp)1447Selenium::WebDriver::Support::Color::RGB_PCT_PATTERN = T.let(T.unsafe(nil), Regexp)1448module Selenium::WebDriver::Support::Escaper1449 class << self1450 def escape(str); end1451 end1452end1453class Selenium::WebDriver::Support::EventFiringBridge1454 def initialize(delegate, listener); end1455 def clear_element(ref); end1456 def click_element(ref); end1457 def close; end1458 def execute_script(script, *args); end1459 def find_element_by(how, what, parent = T.unsafe(nil)); end1460 def find_elements_by(how, what, parent = T.unsafe(nil)); end1461 def get(url); end1462 def go_back; end1463 def go_forward; end1464 def quit; end1465 def send_keys_to_element(ref, keys); end1466 private1467 def create_element(ref); end1468 def dispatch(name, *args); end1469 def driver; end1470 def method_missing(meth, *args, &blk); end1471end1472class Selenium::WebDriver::Support::RelativeLocator1473 def initialize(locator); end1474 def as_json; end1475end1476Selenium::WebDriver::Support::RelativeLocator::KEYS = T.let(T.unsafe(nil), Array)1477class Selenium::WebDriver::Support::Select1478 def initialize(element); end1479 def deselect_all; end1480 def deselect_by(how, what); end1481 def first_selected_option; end1482 def multiple?; end1483 def options; end1484 def select_all; end1485 def select_by(how, what); end1486 def selected_options; end1487 private1488 def deselect_by_index(index); end1489 def deselect_by_text(text); end1490 def deselect_by_value(value); end1491 def deselect_option(option); end1492 def deselect_options(opts); end1493 def find_by_index(index); end1494 def find_by_text(text); end1495 def find_by_value(value); end1496 def select_by_index(index); end1497 def select_by_text(text); end1498 def select_by_value(value); end1499 def select_option(option); end1500 def select_options(opts); end1501end1502module Selenium::WebDriver::TakesScreenshot1503 def save_screenshot(png_path, full_page: T.unsafe(nil)); end1504 def screenshot_as(format, full_page: T.unsafe(nil)); end1505end1506class Selenium::WebDriver::TargetLocator1507 def initialize(bridge); end1508 def active_element; end1509 def alert; end1510 def default_content; end1511 def frame(id); end1512 def new_window(type = T.unsafe(nil)); end1513 def parent_frame; end1514 def window(id); end1515end1516class Selenium::WebDriver::Timeouts1517 def initialize(bridge); end1518 def implicit_wait; end1519 def implicit_wait=(seconds); end1520 def page_load; end1521 def page_load=(seconds); end1522 def script; end1523 def script=(seconds); end1524 def script_timeout; end1525 def script_timeout=(seconds); end1526end1527Selenium::WebDriver::VERSION = T.let(T.unsafe(nil), String)1528class Selenium::WebDriver::Wait1529 def initialize(opts = T.unsafe(nil)); end1530 def until; end1531 private1532 def current_time; end1533end1534Selenium::WebDriver::Wait::DEFAULT_INTERVAL = T.let(T.unsafe(nil), Float)1535Selenium::WebDriver::Wait::DEFAULT_TIMEOUT = T.let(T.unsafe(nil), Integer)1536class Selenium::WebDriver::Window1537 def initialize(bridge); end1538 def full_screen; end1539 def maximize; end1540 def minimize; end1541 def move_to(x, y); end1542 def position; end1543 def position=(point); end1544 def rect; end1545 def rect=(rectangle); end1546 def resize_to(width, height); end1547 def size; end1548 def size=(dimension); end1549end1550module Selenium::WebDriver::Zipper1551 class << self...

Full Screen

Full Screen

selenium-webdriver.rbi

Source:selenium-webdriver.rbi Github

copy

Full Screen

...142 def ftp; end143 def ftp=(value); end144 def http; end145 def http=(value); end146 def initialize(opts = nil); end147 def no_proxy; end148 def no_proxy=(value); end149 def pac; end150 def pac=(url); end151 def self.json_create(data); end152 def socks; end153 def socks=(value); end154 def socks_password; end155 def socks_password=(value); end156 def socks_username; end157 def socks_username=(value); end158 def socks_version; end159 def socks_version=(value); end160 def ssl; end161 def ssl=(value); end162 def to_json(*arg0); end163 def type; end164 def type=(type); end165end166class Selenium::WebDriver::LogEntry167 def as_json(*arg0); end168 def initialize(level, timestamp, message); end169 def level; end170 def message; end171 def time; end172 def timestamp; end173 def to_s; end174end175module Selenium::WebDriver::FileReaper176 def self.<<(file); end177 def self.reap!; end178 def self.reap(file); end179 def self.reap=(arg0); end180 def self.reap?; end181 def self.tmp_files; end182end183class Selenium::WebDriver::Service184 def binary_path(path = nil); end185 def executable_path; end186 def extra_args; end187 def extract_service_args(driver_opts); end188 def host; end189 def host=(arg0); end190 def initialize(path: nil, port: nil, args: nil); end191 def launch; end192 def port; end193 def self.chrome(**opts); end194 def self.driver_path; end195 def self.driver_path=(path); end196 def self.edge(**opts); end197 def self.firefox(**opts); end198 def self.ie(**opts); end199 def self.internet_explorer(**opts); end200 def self.microsoftedge(**opts); end201 def self.safari(**opts); end202 def shutdown_supported; end203end204class Selenium::WebDriver::ServiceManager205 def build_process(*command); end206 def cannot_connect_error_text; end207 def connect_to_server; end208 def connect_until_stable; end209 def find_free_port; end210 def initialize(config); end211 def process_exited?; end212 def process_running?; end213 def socket_lock; end214 def start; end215 def start_process; end216 def stop; end217 def stop_process; end218 def stop_server; end219 def uri; end220end221class Selenium::WebDriver::SocketLock222 def can_lock?; end223 def current_time; end224 def did_lock?; end225 def initialize(port, timeout); end226 def lock; end227 def locked; end228 def release; end229end230class Selenium::WebDriver::SocketPoller231 def closed?; end232 def conn_completed?(sock); end233 def connected?; end234 def current_time; end235 def initialize(host, port, timeout = nil, interval = nil); end236 def listening?; end237 def socket_writable?(sock); end238 def with_timeout; end239end240class Selenium::WebDriver::PortProber241 def self.above(port); end242 def self.free?(port); end243end244module Selenium::WebDriver::Zipper245 def self.add_zip_entry(zip, file, entry_name); end246 def self.unzip(path); end247 def self.with_tmp_zip(&blk); end248 def self.zip(path); end249 def self.zip_file(path); end250end251class Selenium::WebDriver::Wait252 def current_time; end253 def initialize(opts = nil); end254 def until; end255end256class Selenium::WebDriver::Alert257 def accept; end258 def dismiss; end259 def initialize(bridge); end260 def send_keys(keys); end261 def text; end262end263class Selenium::WebDriver::TargetLocator264 def active_element; end265 def alert; end266 def default_content; end267 def frame(id); end268 def initialize(bridge); end269 def new_window(type = nil); end270 def parent_frame; end271 def window(id); end272end273class Selenium::WebDriver::Navigation274 def back; end275 def forward; end276 def initialize(bridge); end277 def refresh; end278 def to(url); end279end280class Selenium::WebDriver::Timeouts281 def implicit_wait; end282 def implicit_wait=(seconds); end283 def initialize(bridge); end284 def page_load; end285 def page_load=(seconds); end286 def script; end287 def script=(seconds); end288 def script_timeout; end289 def script_timeout=(seconds); end290end291class Selenium::WebDriver::Window292 def full_screen; end293 def initialize(bridge); end294 def maximize; end295 def minimize; end296 def move_to(x, y); end297 def position; end298 def position=(point); end299 def rect; end300 def rect=(rectangle); end301 def resize_to(width, height); end302 def size; end303 def size=(dimension); end304end305class Selenium::WebDriver::Logger306 def close(*args, &block); end307 def create_logger(name); end308 def debug(*args, &block); end309 def debug?(*args, &block); end310 def default_level; end311 def deprecate(old, new = nil, id: nil, reference: nil, &block); end312 def error(*args, &block); end313 def error?(*args, &block); end314 def fatal(*args, &block); end315 def fatal?(*args, &block); end316 def ignore(id); end317 def info(*args, &block); end318 def info?(*args, &block); end319 def initialize(progname = nil); end320 def io; end321 def level(*args, &block); end322 def level=(*args, &block); end323 def output=(io); end324 def warn(message, id: nil); end325 def warn?(*args, &block); end326 extend Forwardable327end328class Selenium::WebDriver::Logs329 def available_types; end330 def get(type); end331 def initialize(bridge); end332end333class Selenium::WebDriver::Manager334 def add_cookie(opts = nil); end335 def all_cookies; end336 def convert_cookie(cookie); end337 def cookie_named(name); end338 def datetime_at(int); end339 def delete_all_cookies; end340 def delete_cookie(name); end341 def initialize(bridge); end342 def logs; end343 def new_window(type = nil); end344 def seconds_from(obj); end345 def strip_port(str); end346 def timeouts; end347 def window; end348end349module Selenium::WebDriver::SearchContext350 def extract_args(args); end351 def find_element(*args); end352 def find_elements(*args); end353end354module Selenium::WebDriver::KeyActions355 def key_action(*args, action: nil, device: nil); end356 def key_down(*args, device: nil); end357 def key_up(*args, device: nil); end358 def send_keys(*args, device: nil); end359end360module Selenium::WebDriver::PointerActions361 def button_action(button, action: nil, device: nil); end362 def click(element = nil, device: nil); end363 def click_and_hold(element = nil, device: nil); end364 def context_click(element = nil, device: nil); end365 def default_move_duration; end366 def default_move_duration=(arg0); end367 def double_click(element = nil, device: nil); end368 def drag_and_drop(source, target, device: nil); end369 def drag_and_drop_by(source, right_by, down_by, device: nil); end370 def get_pointer(device = nil); end371 def move_by(right_by, down_by, device: nil); end372 def move_to(element, right_by = nil, down_by = nil, device: nil); end373 def move_to_location(x, y, device: nil); end374 def pointer_down(button, device: nil); end375 def pointer_up(button, device: nil); end376 def release(device: nil); end377end378module Selenium::WebDriver::Interactions379 def self.key(name); end380 def self.none(name = nil); end381 def self.pointer(kind, **kwargs); end382end383class Selenium::WebDriver::Interactions::InputDevice384 def actions; end385 def add_action(action); end386 def clear_actions; end387 def create_pause(duration = nil); end388 def initialize(name = nil); end389 def name; end390 def no_actions?; end391end392class Selenium::WebDriver::Interactions::Interaction393 def initialize(source); end394 def source; end395end396class Selenium::WebDriver::Interactions::Pause < Selenium::WebDriver::Interactions::Interaction397 def encode; end398 def initialize(source, duration = nil); end399 def type; end400end401class Selenium::WebDriver::Interactions::NoneInput < Selenium::WebDriver::Interactions::InputDevice402 def encode; end403 def type; end404end405class Selenium::WebDriver::Interactions::KeyInput < Selenium::WebDriver::Interactions::InputDevice406 def create_key_down(key); end407 def create_key_up(key); end408 def encode; end409 def type; end410end411class Selenium::WebDriver::Interactions::KeyInput::TypingInteraction < Selenium::WebDriver::Interactions::Interaction412 def assert_type(type); end413 def encode; end414 def initialize(source, type, key); end415 def type; end416end417class Selenium::WebDriver::Interactions::PointerInput < Selenium::WebDriver::Interactions::InputDevice418 def assert_kind(pointer); end419 def create_pointer_cancel; end420 def create_pointer_down(button); end421 def create_pointer_move(duration: nil, x: nil, y: nil, element: nil, origin: nil); end422 def create_pointer_up(button); end423 def encode; end424 def initialize(kind, name: nil); end425 def kind; end426 def type; end427end428class Selenium::WebDriver::Interactions::PointerPress < Selenium::WebDriver::Interactions::Interaction429 def assert_button(button); end430 def assert_direction(direction); end431 def encode; end432 def initialize(source, direction, button); end433 def type; end434end435class Selenium::WebDriver::Interactions::PointerMove < Selenium::WebDriver::Interactions::Interaction436 def encode; end437 def initialize(source, duration, x, y, element: nil, origin: nil); end438 def type; end439end440class Selenium::WebDriver::Interactions::PointerCancel < Selenium::WebDriver::Interactions::Interaction441 def encode; end442 def type; end443end444class Selenium::WebDriver::ActionBuilder445 def add_input(device); end446 def add_key_input(name); end447 def add_pointer_input(kind, name); end448 def clear_all_actions; end449 def devices; end450 def get_device(name); end451 def initialize(bridge, mouse, keyboard, async = nil); end452 def key_inputs; end453 def pause(device, duration = nil); end454 def pauses(device, number, duration = nil); end455 def perform; end456 def pointer_inputs; end457 def release_actions; end458 def tick(*action_devices); end459 include Selenium::WebDriver::KeyActions460 include Selenium::WebDriver::PointerActions461end462module Selenium::WebDriver::HTML5463end464module Selenium::WebDriver::HTML5::SharedWebStorage465 def each; end466 def empty?; end467 def fetch(key); end468 def has_key?(key); end469 def key?(key); end470 def member?(key); end471 include Enumerable472end473class Selenium::WebDriver::HTML5::LocalStorage474 def [](key); end475 def []=(key, value); end476 def clear; end477 def delete(key); end478 def initialize(bridge); end479 def keys; end480 def size; end481 include Selenium::WebDriver::HTML5::SharedWebStorage482end483class Selenium::WebDriver::HTML5::SessionStorage484 def [](key); end485 def []=(key, value); end486 def clear; end487 def delete(key); end488 def initialize(bridge); end489 def keys; end490 def size; end491 include Enumerable492 include Selenium::WebDriver::HTML5::SharedWebStorage493end494module Selenium::WebDriver::DriverExtensions495end496module Selenium::WebDriver::DriverExtensions::HasWebStorage497 def local_storage; end498 def session_storage; end499end500module Selenium::WebDriver::DriverExtensions::DownloadsFiles501 def download_path=(path); end502end503module Selenium::WebDriver::DriverExtensions::HasLocation504 def location; end505 def location=(*arg0); end506 def set_location; end507end508module Selenium::WebDriver::DriverExtensions::HasSessionId509 def session_id; end510end511module Selenium::WebDriver::DriverExtensions::HasRemoteStatus512 def remote_status; end513end514module Selenium::WebDriver::DriverExtensions::HasNetworkConditions515 def delete_network_conditions; end516 def network_conditions; end517 def network_conditions=(conditions); end518end519module Selenium::WebDriver::DriverExtensions::HasNetworkConnection520 def network_connection_type; end521 def network_connection_type=(*arg0); end522end523module Selenium::WebDriver::DriverExtensions::HasNetworkInterception524 def fetch_response_body(id); end525 def intercept(&block); end526 def intercept_request(id, params, &block); end527 def intercept_response(id, params); end528 def pending_response_requests; end529end530module Selenium::WebDriver::DriverExtensions::HasApplePermissions531 def permissions; end532 def permissions=(permissions); end533end534module Selenium::WebDriver::DriverExtensions::HasPermissions535 def add_permission(name, value); end536 def add_permissions(opt); end537end538module Selenium::WebDriver::DriverExtensions::HasDebugger539 def attach_debugger; end540end541module Selenium::WebDriver::DriverExtensions::HasContext542 def context; end543 def context=(value); end544end545module Selenium::WebDriver::DriverExtensions::PrintsPage546 def print_page(**options); end547 def save_print_page(path, **options); end548end549module Selenium::WebDriver::DriverExtensions::UploadsFiles550 def file_detector=(detector); end551end552module Selenium::WebDriver::DriverExtensions::FullPageScreenshot553 def full_screenshot; end554 def save_full_page_screenshot(path); end555end556module Selenium::WebDriver::DriverExtensions::HasAddons557 def install_addon(path, temporary = nil); end558 def uninstall_addon(id); end559end560module Selenium::WebDriver::DriverExtensions::HasDevTools561 def devtools; end562end563module Selenium::WebDriver::DriverExtensions::HasAuthentication564 def auth_handlers; end565 def authenticate(request_id, url); end566 def register(username:, password:, uri: nil); end567end568module Selenium::WebDriver::DriverExtensions::HasLogs569 def logs; end570end571module Selenium::WebDriver::DriverExtensions::HasLogEvents572 def log_console_events; end573 def log_exception_events; end574 def log_listeners; end575 def log_mutation_event(params); end576 def log_mutation_events; end577 def mutation_listener; end578 def on_log_event(kind, &block); end579 include Selenium::WebDriver::Atoms580end581module Selenium::WebDriver::DriverExtensions::HasPinnedScripts582 def pin_script(script); end583 def pinned_scripts; end584 def unpin_script(script); end585end586module Selenium::WebDriver::DriverExtensions::HasCDP587 def execute_cdp(cmd, **params); end588end589module Selenium::WebDriver::DriverExtensions::HasCasting590 def cast_issue_message; end591 def cast_sink_to_use=(name); end592 def cast_sinks; end593 def start_cast_tab_mirroring(name); end594 def stop_casting(name); end595end596module Selenium::WebDriver::DriverExtensions::HasLaunching597 def launch_app(id); end598end599module Selenium::WebDriver::Keys600 def self.[](key); end601 def self.encode(keys); end602 def self.encode_key(key); end603end604module Selenium::WebDriver::ProfileHelper605 def as_json(*arg0); end606 def create_tmp_copy(directory); end607 def encoded; end608 def self.decoded(json); end609 def self.included(base); end610 def to_json(*arg0); end611 def verify_model(model); end612end613module Selenium::WebDriver::ProfileHelper::ClassMethods614 def from_json(json); end615end616class Selenium::WebDriver::Options617 def ==(other); end618 def add_option(name, value = nil); end619 def as_json(*arg0); end620 def camel_case(str); end621 def camelize?(_key); end622 def convert_json_key(key, camelize: nil); end623 def eql?(other); end624 def generate_as_json(value, camelize_keys: nil); end625 def initialize(options: nil, **opts); end626 def options; end627 def options=(arg0); end628 def process_browser_options(_browser_options); end629 def process_json_hash(value, camelize_keys); end630 def process_w3c_options(options); end631 def self.chrome(**opts); end632 def self.driver_path; end633 def self.edge(**opts); end634 def self.firefox(**opts); end635 def self.ie(**opts); end636 def self.internet_explorer(**opts); end637 def self.microsoftedge(**opts); end638 def self.safari(**opts); end639 def self.set_capabilities; end640 def w3c?(key); end641end642module Selenium::WebDriver::TakesScreenshot643 def save_screenshot(png_path, full_page: nil); end644 def screenshot_as(format, full_page: nil); end645end646class Selenium::WebDriver::Driver647 def [](sel); end648 def action; end649 def add_extensions(browser); end650 def all(*args); end651 def bridge; end652 def browser; end653 def capabilities; end654 def close; end655 def create_bridge(**opts); end656 def current_url; end657 def execute_async_script(script, *args); end658 def execute_script(script, *args); end659 def first(*args); end660 def generate_capabilities(cap_array); end661 def get(url); end662 def initialize(bridge: nil, listener: nil, **opts); end663 def inspect; end664 def keyboard; end665 def manage; end666 def mouse; end667 def navigate; end668 def page_source; end669 def quit; end670 def ref; end671 def screenshot; end672 def script(script, *args); end673 def self.for(browser, opts = nil); end674 def service_url(opts); end675 def status; end676 def switch_to; end677 def title; end678 def window_handle; end679 def window_handles; end680 include Selenium::WebDriver::SearchContext681 include Selenium::WebDriver::TakesScreenshot682end683class Selenium::WebDriver::Element684 def ==(other); end685 def [](name); end686 def accessible_name; end687 def all(*args); end688 def aria_role; end689 def as_json(*arg0); end690 def attribute(name); end691 def bridge; end692 def clear; end693 def click; end694 def css_value(prop); end695 def displayed?; end696 def dom_attribute(name); end697 def enabled?; end698 def eql?(other); end699 def first(*args); end700 def hash; end701 def initialize(bridge, id); end702 def inspect; end703 def location; end704 def location_once_scrolled_into_view; end705 def property(name); end706 def rect; end707 def ref; end708 def screenshot; end709 def selectable?; end710 def selected?; end711 def send_key(*args); end712 def send_keys(*args); end713 def shadow_root; end714 def size; end715 def style(prop); end716 def submit; end717 def tag_name; end718 def text; end719 def to_json(*arg0); end720 include Selenium::WebDriver::SearchContext721 include Selenium::WebDriver::TakesScreenshot722end723class Selenium::WebDriver::ShadowRoot724 def ==(other); end725 def as_json(*arg0); end726 def bridge; end727 def eql?(other); end728 def hash; end729 def initialize(bridge, id); end730 def inspect; end731 def ref; end732 def to_json(*arg0); end733 include Selenium::WebDriver::SearchContext734end735class Selenium::WebDriver::Point < Struct736 def self.[](*arg0); end737 def self.inspect; end738 def self.members; end739 def self.new(*arg0); end740 def x; end741 def x=(_); end742 def y; end743 def y=(_); end...

Full Screen

Full Screen

firefox_node.rb

Source:firefox_node.rb Github

copy

Full Screen

...100 ]101 ]102 end.to_s.freeze103 class ModifierKeysStack104 def initialize105 @stack = []106 end107 def include?(key)108 @stack.flatten.include?(key)109 end110 def press(key)111 @stack.last.push(key)112 end113 def push114 @stack.push []115 end116 def pop117 @stack.pop118 end...

Full Screen

Full Screen

session_storage.rb

Source:session_storage.rb Github

copy

Full Screen

...40 end41 #42 # @api private43 #44 def initialize(bridge)45 @bridge = bridge46 end47 end # SessionStorage48 end # HTML549 end # WebDriver50end # Selenium...

Full Screen

Full Screen

local_storage.rb

Source:local_storage.rb Github

copy

Full Screen

...21 include SharedWebStorage22 #23 # @api private24 #25 def initialize(bridge)26 @bridge = bridge27 end28 def [](key)29 @bridge.local_storage_item key30 end31 def []=(key, value)32 @bridge.local_storage_item key, value33 end34 def delete(key)35 @bridge.remove_local_storage_item key36 end37 def clear38 @bridge.clear_local_storage39 end...

Full Screen

Full Screen

initialize

Using AI Code Generation

copy

Full Screen

1html5.add_cookie(name: 'foo', value: 'bar', path: '/', secure: false)2html5.add_cookie(name: 'foo', value: 'bar', path: '/', secure: false)3html5.add_cookie(name: 'foo', value: 'bar', path: '/', secure: false)4html5.add_cookie(name: 'foo', value: 'bar', path: '/', secure: false)5html5.add_cookie(name: 'foo', value: 'bar', path: '/', secure: false)6html5.add_cookie(name: 'foo', value: 'bar', path: '/', secure: false)

Full Screen

Full Screen

Automation Testing Tutorials

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.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Selenium automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Most used method in

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful