Skip to content

Commit 5a9a3e2

Browse files
author
Maryam Huntsperger
committed
return the name of the command back to mouseClick
1 parent 71493f1 commit 5a9a3e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/devtools_browser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def process_command(self, command):
766766
self.devtools.type_text(command['target'])
767767
elif command['command'] == 'keypress':
768768
self.devtools.keypress(command['target'])
769-
elif command['command'] == 'mouse_click':
769+
elif command['command'] == 'mouseClick':
770770
if 'target' in command:
771771
target = command['target']
772772
separator = target.find('=')
@@ -801,7 +801,7 @@ def process_command(self, command):
801801
command_options['clickCount'] = clickCount
802802
self.devtools.mouse_click(command_options)
803803
except:
804-
self.task['error'] = 'Exception parsing mouse_click arguments.'
804+
self.task['error'] = 'Exception parsing mouseClick arguments.'
805805
logging.error(self.task['error'])
806806
elif command['command'] == 'waitfor':
807807
try:

0 commit comments

Comments
 (0)