docs

xk6-browser

Browser
BrowserContext
BrowserType
ElementHandle
Frame
JSHandle
Keyboard
launcher
Mouse
Page
Request
Response
Touchscreen
k6.ioapp.k6.io
  • guides
  • JAVASCRIPT API
    • k6 API
    • xk6-browser
    • jslib
  • Cloud Docs
  • INTEGRATIONS
  • EXTENSIONS
  • examples

No results for “”

Powered byAlgolia
xk6-browser
Mouse

Mouse

xk6-browsersuggest edits

⚠️ Compatibility

The xk6-browser API aims for rough compatibility with the Playwright API for NodeJS.

Because k6 does not run in NodeJS, the xk6-browser API will slightly differ from its Playwright counterpart.

Note that k6 APIs are synchronous.

Supported APIs

MethodPlaywright Relevant Distinctions
mouse.click(x, y[, options])-
mouse.dblclick(x, y[, options])-
mouse.down([options])-
mouse.move(x, y[, options])-
mouse.up([options])-
mouse.wheel(deltaX, deltaY)-

Browser-level APIs

  • Browser
  • BrowserContext
  • BrowserType
  • ElementHandle
  • Frame
  • JSHandle
  • Keyboard
  • Mouse
  • Page
  • Request
  • Response
  • Touchscreen
    • guides
    • k6 API
    • xk6-browser
    • jslib
    • Cloud Docs
    • INTEGRATIONS
    • EXTENSIONS
    • examples

    Product

    • Open Source
    • Cloud
    • Pricing
    • Open Source vs Cloud
    • Schedule a Cloud Demo
    • Professional services
    • Testimonials

    Resources

    • k6 Docs
    • Cloud Docs
    • Integrations
    • Not a developer. Why k6?
    • Modern Load Testing
    • Build vs Buy

    Community

    • Engage
    • Forum
    • Slack
    • GitHub
    • OSS Support Program
    • k6 Cloud for Education

    About

    • Our story
    • Our beliefs
    • Blog
    • Contact
    • Jobs

    © 2022 Grafana Labs

    • GDPR
    • Privacy
    • Security
    • Terms
    • Stewardship
    • Status