double_click

The command to double click the element.

Syntax

Element.double_click()

Usage

correct usage
py.get('a').double_click()

---or--- # chain a Pylenium command

py.get('a').double_click().switch_to.window(index=1)
incorrect usage
# Errors, 'double_click' yields Pylenium, not Element
py.get('a').double_click().text

Arguments

  • None

Yields

  • (Pylenium) The current instance of Pylenium so you can chain commands

Last updated