Skip to content

Conversation

Penploys
Copy link

  • Add double click element keyword
  • Add new button and form for double click in demo app
  • Add double click system testing

@@ -57,6 +57,11 @@ async def press_keys(self, locator: str, *keys: str):
for key in keys:
await element.press(key)

async def double_click_element(self, locator: str, noWaitAfter: str='False'):
element = await self.library_ctx.get_current_page().querySelector_with_selenium_locator(locator)
await element.dblclick()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puppeteer not support dblclick
plz change to click with clickCount 2


Double Click Element
Open browser to test page http://127.0.0.1:7272/basic-html-elements.html
Double Click Element id=double_click_get_id
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you and verify step for ensure that double click work as expect?
Due to some of library may not send mouse event as double click

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose it's great to add it as Alias Keyword

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants