Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
22 lines
392 B
JavaScript
Executable file
22 lines
392 B
JavaScript
Executable file
/* global module */
|
|
'use strict';
|
|
|
|
|
|
var SearchHelper = {
|
|
|
|
singleTitle: function(element) {
|
|
return element.findElement('.list-single-title').text();
|
|
},
|
|
|
|
mainTitle: function(element) {
|
|
return element.findElement('.list-main-title').text();
|
|
},
|
|
|
|
highlight: function(element) {
|
|
return element.findElement('.search-highlight').text();
|
|
}
|
|
|
|
};
|
|
|
|
|
|
module.exports = SearchHelper;
|