Commit cc4573e0 authored by Sven Franck's avatar Sven Franck

fixed conflicts

parent 619f51a0
...@@ -216,6 +216,16 @@ ...@@ -216,6 +216,16 @@
'<td>waitForElementPresent</td>' + '<td>waitForElementPresent</td>' +
'<td>//div[@id="global-panel"]</td>' + '<td>//div[@id="global-panel"]</td>' +
'<td></td>' + '<td></td>' +
'</tr>' +
'<tr>' +
'<td>click</td>' +
'<td>//a[.="Login"]</td>' +
'<td></td>' +
'</tr>' +
'<tr>' +
'<td>verifyAttribute</td>' +
'<td>//div[@id="global-popup-popup"]@class</td>' +
'<td>ui-popup-active</td>' +
'</tr>' + '</tr>' +
'<tr>' + '<tr>' +
'<td>waitForElementPresent</td>' + '<td>waitForElementPresent</td>' +
...@@ -306,6 +316,16 @@ ...@@ -306,6 +316,16 @@
return ""; return "";
}; };
// which element
nth = function (str) {
if (str.split("][").length > 1) {
return ":nth-child(" +
str.split("]").slice(-2).shift().replace("[","") +
")";
}
return ""
};
// extract selector value // extract selector value
val = function(str) { val = function(str) {
if (has_selector(str).length > 1) { if (has_selector(str).length > 1) {
...@@ -492,7 +512,6 @@ ...@@ -492,7 +512,6 @@
close_asyn = undefined; close_asyn = undefined;
count = undefined; count = undefined;
} }
console.log(madeJS); console.log(madeJS);
// inject // inject
add = d.createElement("script"); add = d.createElement("script");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment