Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add double click element keyword #146

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add double click element keyword #146

wants to merge 5 commits into from

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