Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

View File

@ -0,0 +1,27 @@
/**
*
* Releases the mouse button previously held (where the mouse is currently at). Must
* be called once for every buttondown command issued. See the note in click and
* buttondown about implications of out-of-order commands.
*
* This command is depcrecated and will be removed soon. Make sure you don't use it in your
* automation/test scripts anymore to avoid errors.
*
* @param {Number} button Which button, enum: *{LEFT = 0, MIDDLE = 1 , RIGHT = 2}*. Defaults to the left mouse button if not specified.
*
* @see https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidbuttonup
* @type protocol
*
*/
import handleMouseButtonProtocol from '../helpers/handleMouseButtonProtocol'
import depcrecate from '../helpers/depcrecationWarning'
export default function buttonUp (button) {
depcrecate('buttonUp')
return handleMouseButtonProtocol.call(
this,
'/session/:sessionId/buttonup',
button
)
}