forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
48 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
indent_style = space | ||
indent_size = 4 | ||
|
||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
var handleMouseButtonCommand = require('../helpers/handleMouseButtonCommand'); | ||
|
||
module.exports = function leftClick (cssSelector, callback) { | ||
|
||
handleMouseButtonCommand.call( | ||
this, | ||
cssSelector, | ||
'left', | ||
callback | ||
); | ||
|
||
var handleMouseButtonCommand = require('../helpers/handleMouseButtonCommand'); | ||
|
||
module.exports = function leftClick (cssSelector, callback) { | ||
|
||
handleMouseButtonCommand.call( | ||
this, | ||
cssSelector, | ||
'left', | ||
callback | ||
); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
var handleMouseButtonCommand = require('../helpers/handleMouseButtonCommand'); | ||
|
||
module.exports = function rightClick (cssSelector, callback) { | ||
|
||
handleMouseButtonCommand.call( | ||
this, | ||
cssSelector, | ||
'right', | ||
callback | ||
); | ||
|
||
var handleMouseButtonCommand = require('../helpers/handleMouseButtonCommand'); | ||
|
||
module.exports = function rightClick (cssSelector, callback) { | ||
|
||
handleMouseButtonCommand.call( | ||
this, | ||
cssSelector, | ||
'right', | ||
callback | ||
); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
var handleMouseButtonProtocol = require('../helpers/handleMouseButtonProtocol'); | ||
|
||
module.exports = function buttonPress (button, callback) { | ||
|
||
handleMouseButtonProtocol.call( | ||
this, | ||
"/session/:sessionId/click", | ||
button, callback | ||
); | ||
|
||
}; | ||
var handleMouseButtonProtocol = require('../helpers/handleMouseButtonProtocol'); | ||
|
||
module.exports = function buttonPress (button, callback) { | ||
|
||
handleMouseButtonProtocol.call( | ||
this, | ||
"/session/:sessionId/click", | ||
button, callback | ||
); | ||
|
||
}; |