Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
mops 3.5.0 documentation
Light Logo Dark Logo
mops 3.5.0 documentation

User Guide

  • Getting Started
  • DriverWrapper
    • DriverWrapper Interface
    • DriverWrapperSessions Interface
  • Page
    • Page Key Features
    • Page Best Practices
    • Page Interface
  • Group
    • Group Key Features
    • Group Best Practices
    • Group Interface
  • Element
    • Element Key Features
    • Element Best Practices
    • Element Interface

Other

  • Objects Initialization
  • Visual Comparison
  • Kitchen Sink
    • Locator dataclass
    • Locator Type Constants
    • Driver dataclass
    • Size dataclass
    • Box dataclass
    • Location dataclass
    • Scrolls constants

Development

  • Mops Changelog

Project Links

  • GitHub
  • PyPI
Back to top
View this page

Location dataclass¶

class mops.mixins.objects.location.Location(x: int | float | None = None, y: int | float | None = None)[source]¶

Represents a location on a web UI element, defined by its x and y coordinates.

x: int | float | None = None¶
y: int | float | None = None¶
Next
Scrolls constants
Previous
Box dataclass
Copyright © 2026, Podolian Vladimir
Made with Sphinx and @pradyunsg's Furo
On this page
  • Location dataclass
    • Location
      • Location.x
      • Location.y