Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/rb/sig/lib/selenium/webdriver/common/window.rbs
1865 views
module Selenium
  module WebDriver
    class Window
      attr_reader bridge: untyped

      def initialize: (untyped bridge) -> void

      def size=: (Dimension dimension) -> untyped

      def size: () -> Dimension

      def position=: (Point point) -> untyped

      def position: () -> Point

      def rect=: (Rectangle rectangle) -> untyped

      def rect: () -> Rectangle

      def resize_to: (Integer width, Integer height) -> untyped

      def move_to: (Integer x, Integer y) -> untyped

      def maximize: () -> untyped

      def minimize: () -> untyped

      def full_screen: () -> untyped
    end
  end
end