Skip to content

Commit

Permalink
Fix style in mouse_clicks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cztomczak committed Aug 19, 2018
1 parent 3d0f385 commit 1f8693b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/snippets/mouse_clicks.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def click_after_2_seconds(browser):
print("Click after 2 seconds")
browser.SendMouseMoveEvent(0, 90, False, 0)
browser.SendMouseClickEvent(0, 90, cef.MOUSEBUTTON_LEFT, False, 1)
browser.SendMouseMoveEvent(400, 100, False, cef.EVENTFLAG_LEFT_MOUSE_BUTTON)
browser.SendMouseClickEvent(400, 100, cef.MOUSEBUTTON_LEFT, True, 1)
browser.SendMouseMoveEvent(400, 99, False, cef.EVENTFLAG_LEFT_MOUSE_BUTTON)
browser.SendMouseClickEvent(400, 99, cef.MOUSEBUTTON_LEFT, True, 1)
cef.PostDelayedTask(cef.TID_UI, 1000, click_after_1_second, browser)


Expand Down

0 comments on commit 1f8693b

Please sign in to comment.