diff --git a/src/chrome/manifest.json b/src/chrome/manifest.json index 109fbe7d..8782e989 100644 --- a/src/chrome/manifest.json +++ b/src/chrome/manifest.json @@ -1,6 +1,6 @@ { "manifest_version": 2, - "name": "TagUI Web Automation", "short_name": "TagUI Tool", "version": "5.0.0", + "name": "TagUI Web Automation", "short_name": "TagUI Tool", "version": "5.0.1", "description": "Create TagUI automation flows by recording your actions", "homepage_url": "https://github.com/kelaberetiv/TagUI", "browser_action": { diff --git a/src/chrome/tagui.js b/src/chrome/tagui.js index 69c9641e..f071e412 100644 --- a/src/chrome/tagui.js +++ b/src/chrome/tagui.js @@ -359,7 +359,7 @@ CasperRenderer.prototype.keypress = function(item) { var text = item.text.replace(/\r\n/g,'[enter]').replace(/\r/g, '[enter]').replace(/\n/g, '[enter]'); var selector; selector = this.getControl(item); if (selector.charAt(0) == '#') {selector = selector.substring(1);} - this.stmt('enter ' + selector + ' as ' + text); + this.stmt('type ' + selector + ' as ' + text); } CasperRenderer.prototype.submit = function(item) { @@ -388,13 +388,13 @@ CasperRenderer.prototype.noteDownElement = function(item) { CasperRenderer.prototype.moveCursorToElement = function(item) { var selector; selector = this.getControl(item); if (selector.charAt(0) == '#') {selector = selector.substring(1);} - this.stmt('move ' + selector); + this.stmt('hover ' + selector); } CasperRenderer.prototype.fetchElementText = function(item) { var selector; selector = this.getControl(item); if (selector.charAt(0) == '#') {selector = selector.substring(1);} - this.stmt('fetch ' + selector + ' to variable'); + this.stmt('read ' + selector + ' to variable'); } CasperRenderer.prototype.selectElementOption = function(item) { @@ -410,7 +410,7 @@ CasperRenderer.prototype.cancelLastStep = function(item) { CasperRenderer.prototype.printElementText = function(item) { var selector; selector = this.getControl(item); if (selector.charAt(0) == '#') {selector = selector.substring(1);} - this.stmt('print ' + selector); + this.stmt('show ' + selector); } CasperRenderer.prototype.saveElementText = function(item) {