Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/rb/sig/lib/selenium/webdriver/common/target_locator.rbs
1865 views
module Selenium
  module WebDriver
    class TargetLocator
      def initialize: (untyped bridge) -> void

      def frame: (String id) -> void

      def parent_frame: () -> void

      def new_window: (Symbol type) { (untyped) -> untyped } -> untyped

      def window: (Integer id) ?{ () -> untyped } -> untyped

      def active_element: () -> Element

      def default_content: () -> void

      def alert: () -> void
    end
  end
end