diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..695d08b Binary files /dev/null and b/.DS_Store differ diff --git a/seleniumbuilder/Archive.xpi b/seleniumbuilder/Archive.xpi new file mode 100644 index 0000000..22acb50 Binary files /dev/null and b/seleniumbuilder/Archive.xpi differ diff --git a/seleniumbuilder/content/html/builder/selenium2/io/formats/node-protractor.js b/seleniumbuilder/content/html/builder/selenium2/io/formats/node-protractor.js index 0c22d74..c0e0075 100644 --- a/seleniumbuilder/content/html/builder/selenium2/io/formats/node-protractor.js +++ b/seleniumbuilder/content/html/builder/selenium2/io/formats/node-protractor.js @@ -22,7 +22,11 @@ builder.selenium2.io.addLangFormatter({ "setElementText": " element(by.{locatorBy}({locator})).sendKeys({text});\n", "doubleClickElement": " element(by.{locatorBy}({locator})).click();\n" + " element(by.{locatorBy}({locator})).click();\n", - "mouseOverElement": " // TODO: mouseOverElement: {locator}", + "mouseOverElement": " element(by.{locatorBy}({locator}))\n" + + " .getLocation()\n" + + " .then(function (location) {\n" + + " browser.actions().mouseMove({x: location.x + 3, y: location.y + 3}).perform();\n" + + " });\n", "dragAndDropElement": " var target = element(by.{targetLocatorBy}({targetLocator}).find();\n" + " browser.actions().dragAndDrop(element(by.{locatorBy}({locator}).find(), {x: target.clientX, y: target.clientY}).perform();\n", "clickAndHoldElement": " // TODO: clickAndHoldElement: {locator}\n",