-
Notifications
You must be signed in to change notification settings - Fork 14
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
base: master
Are you sure you want to change the base?
Conversation
Penploys
commented
Nov 29, 2021
- 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() |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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