mozilla / geckodriver

WebDriver for Firefox
https://firefox-source-docs.mozilla.org/testing/geckodriver/
Mozilla Public License 2.0
7.17k stars 1.52k forks source link

Click on item from the list does not work properly #1124

Closed atomar09 closed 3 years ago

atomar09 commented 6 years ago

System

Navigate to MakeMyTrip.com Type chan on the From field Wait for the list of suggestions Find the list of elements and from the list Select Changchun, China But the code always selects the 1st option in the list

The same code works completely fine and selects Changchun, China when I run it on Chrome. It looks like the issue is with geckodriver in understanding the DOM.

Here is the code: public class MakeMyTrip { WebDriver driver; String baseUrl;

@Before
public void setUp() throws Exception {
    System.setProperty("webdriver.gecko.driver", "geckodriver location");
    baseUrl = "https://www.makemytrip.com/";
    driver = new FirefoxDriver();
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
}

@Test
public void test() throws InterruptedException {
    driver.get(baseUrl);
    WebElement searchField = driver.findElement(By.id("hp-widget__sfrom"));
    searchField.clear();
    searchField.sendKeys("chan");

    Thread.sleep(3000);
    WebElement filter = driver.findElement(By.xpath("//div[@class='locationFilter autocomplete_from']"));

    List<WebElement> locationList = filter.findElements(By.className("ui-menu-item"));

    for (WebElement e : locationList) {
        System.out.println(e.getAttribute("aria-label"));
        if (e.getAttribute("aria-label").equals("Search Result : Changchun, China")) {
            System.out.println("Inside if condition");
            e.click();
            break;
        }
    }
}

@After
public void tearDown() throws Exception {
    Thread.sleep(3000);
    driver.quit();
}

}

Trace-level log

If you can let me know what options I can provide to FirefoxDriver to produce logs, then I can provide them also. The below provided when filing bugs only shows for capabilities, but I am running the code locally without using capabilities.

whimboo commented 6 years ago

@atomar09 can you please run this code with the latest Firefox 58 beta? I wonder if there are problems with interactability for those entries. The latest beta release can be found at https://www.mozilla.org/en-US/firefox/channel/desktop/.

Also provide a trace log as requested originally when filing an issue. The documentation is also linked and which can be found here: https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/TraceLogs.html

andreastt commented 6 years ago

@atomar09 Do you have an update for us?

atomar09 commented 6 years ago

I tried with the latest FF beta version suggested by you. It does not work with that also, same output.

About Trace logs: I imported this statement: import org.openqa.selenium.firefox.FirefoxOptions;

Then I wrote this code as suggested in the article:

FirefoxOptions options = new FirefoxOptions();
options.setLogLevel(FirefoxDriverLogLevel.TRACE);
driver = new FirefoxDriver(options);

I see a compilation error that FirefoxDriverLogLevel cannot be resolved to a variable.

andreastt commented 6 years ago

FirefoxDriverLogLevel exists in https://github.com/SeleniumHQ/selenium/blob/master/java/client/src/org/openqa/selenium/firefox/FirefoxDriverLogLevel.java.

atomar09 commented 6 years ago

From which Selenium WebDriver version does it exist?

On Thu, Jan 18, 2018 at 4:25 PM Andreas Tolfsen notifications@github.com wrote:

FirefoxDriverLogLevel exists in https://github.com/SeleniumHQ/selenium/blob/master/java/client/src/org/openqa/selenium/firefox/FirefoxDriverLogLevel.java .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mozilla/geckodriver/issues/1124#issuecomment-358827268, or mute the thread https://github.com/notifications/unsubscribe-auth/AOdk0hyEXPwAEX3c-XfXa3gf9ViRv4lwks5tL-DtgaJpZM4RYnu6 .

whimboo commented 6 years ago

If you blame the code you will see that the logging code for geckodriver has been added about 5 months ago: https://github.com/SeleniumHQ/selenium/commit/72e397775631daab45370c2225ec313908b9f33c. As such the latest release of your Selenium binding should have it. And I assume it is Java.

atomar09 commented 6 years ago

I am not blaming the code, I am trying to ask for details. I was using Selenium WebDriver 3.5.3, I will update and try again to provide the logs.

twalpole commented 6 years ago

@atomar09 @whimboo is referring to git blame which can be triggered from the top right of a file view in GitHub, and will show what commit added specific lines to a project. He's not saying that you are blaming the code for your issues.

atomar09 commented 6 years ago

Sorry for the misunderstanding :)

Here are the trace logs:

1516769611355   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Changzhi, China "}
Search Result : Changzhi, China 
1516769611359   webdriver::server   DEBUG   -> POST /session/6d63b4d3-9cce-8f4f-a69b-cd476f6c2dd3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"98efd6e1-5eb2-5d42-8f67-fbdaedca5a65"},"aria-label"]}
1516769611360   geckodriver::marionette TRACE   -> 6813:[0,19,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"98efd6e1-5eb2-5d42-8f67-fbdaedca5a65"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611361   Marionette  TRACE   0 -> [0,19,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"98efd6e1-5eb2-5d42-8f67-fbdaedca5a65"},"aria-label"]," ... dow!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611366   Marionette  TRACE   0 <- [1,19,null,{"value":"Search Result : Changzhi, China "}]
1516769611367   geckodriver::marionette TRACE   <- [1,19,null,{"value":"Search Result : Changzhi, China "}]
1516769611367   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Changzhi, China "}
1516769611370   webdriver::server   DEBUG   -> POST /session/6d63b4d3-9cce-8f4f-a69b-cd476f6c2dd3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"0bec7c14-9a4d-954f-91c5-b0deda33ac3c"},"aria-label"]}
1516769611371   geckodriver::marionette TRACE   -> 6813:[0,20,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"0bec7c14-9a4d-954f-91c5-b0deda33ac3c"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611372   Marionette  TRACE   0 -> [0,20,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"0bec7c14-9a4d-954f-91c5-b0deda33ac3c"},"aria-label"]," ... dow!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611379   Marionette  TRACE   0 <- [1,20,null,{"value":"Search Result : Changzhou, China "}]
1516769611379   geckodriver::marionette TRACE   <- [1,20,null,{"value":"Search Result : Changzhou, China "}]
1516769611379   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Changzhou, China "}
Search Result : Changzhou, China 
1516769611383   webdriver::server   DEBUG   -> POST /session/6d63b4d3-9cce-8f4f-a69b-cd476f6c2dd3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"0bec7c14-9a4d-954f-91c5-b0deda33ac3c"},"aria-label"]}
1516769611383   geckodriver::marionette TRACE   -> 6813:[0,21,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"0bec7c14-9a4d-954f-91c5-b0deda33ac3c"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in 1516769U&6&1U1[3u8]4===c){c=u;break a   Marionette  TRACE   0 -> [0,21,"executeScript",{"}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||a(c=trypeogsf" :k[,{c"=e\l"eombent-6066-11e4-a52e-4f735466cecf":"0bec7c14-9a4d-954f-91c5-b0deda33ac3c"},"arijae-cltab\e"l="=]c,&"& n.u.l.l d!ow=!k=|'|u\"funndcefined'?window.document:null}, arguments);}\nt)i.oanp\p"l=y=(cn);ucl?le,= Qa(rag,ubm)ent:se);="k,;"rsectruirpnt Tniumlelo!ut="e:?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScripnull,"spet||X.cieaxlePcowSercsr"i:pfta(l\s"ev}a]r
 \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611388   Marionette  TRACE   0 <- [1,21,null,{"value":"Search Result : Changzhou, China "}]
1516769611388   geckodriver::marionette TRACE   <- [1,21,null,{"value":"Search Result : Changzhou, China "}]
1516769611388   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Changzhou, China "}
1516769611392   webdriver::server   DEBUG   -> POST /session/6d63b4d3-9cce-8f4f-a69b-cd476f6c2dd3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"f713a4b3-84dd-d148-a7f5-94267ceb0d6e"},"aria-label"]}
1516769611392   geckodriver::marionette TRACE   -> 6813:[0,22,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"f713a4b3-84dd-d148-a7f5-94267ceb0d6e"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611393   Marionette  TRACE   0 -> [0,22,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"f713a4b3-84dd-d148-a7f5-94267ceb0d6e"},"aria-label"]," ... dow!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611397   Marionette  TRACE   0 <- [1,22,null,{"value":"Search Result : Chania, Greece "}]
1516769611397   geckodriver::marionette TRACE   <- [1,22,null,{"value":"Search Result : Chania, Greece "}]
1516769611397   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Chania, Greece "}
Search Result : Chania, Greece 
1516769611400   webdriver::server   DEBUG   -> POST /session/6d63b4d3-9cce-8f4f-a69b-cd476f6c2dd3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"f713a4b3-84dd-d148-a7f5-94267ceb0d6e"},"aria-label"]}
1516769611401   geckodriver::marionette TRACE   -> 6813:[0,23,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"f713a4b3-84dd-d148-a7f5-94267ceb0d6e"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611401   Marionette  TRACE   0 -> [0,23,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"f713a4b3-84dd-d148-a7f5-94267ceb0d6e"},"aria-label"]," ... dow!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516769611405   Marionette  TRACE   0 <- [1,23,null,{"value":"Search Result : Chania, Greece "}]
1516769611406   geckodriver::marionette TRACE   <- [1,23,null,{"value":"Search Result : Chania, Greece "}]
1516769611406   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Chania, Greece "}
whimboo commented 6 years ago

The above log doesn't contain any line related to a click command.

Also which framework is this website using? Maybe React (issue #962) or Angular (issue #946)?

atomar09 commented 6 years ago

Looks like it didn't catch correct logs.

Please find the trace log: In this log, please search for string "Just before clicking the element" I used this statement before it clicks the element. You should find the click action logs after this statement.

1516825240551   geckodriver INFO    Listening on 127.0.0.1:29422
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
1516825240794   mozrunner::runner   INFO    Running command: "/Applications/Firefox.app/Contents/MacOS/firefox-bin" "-marionette" "-profile" "/var/folders/hr/lf3xj9js0_1gtld_ldw7jynh32drgp/T/rust_mozprofile.fORmpUDGGrRz"
1516825240796   geckodriver::marionette TRACE     connection attempt 0/600
1516825240899   geckodriver::marionette TRACE     connection attempt 1/600
1516825241001   geckodriver::marionette TRACE     connection attempt 2/600
1516825241102   geckodriver::marionette TRACE     connection attempt 3/600
1516825241110   Marionette  DEBUG   Received observer notification "profile-after-change"
Unable to read VR Path Registry from /Users/atomar/Library/Application Support/OpenVR/.openvr/openvrpaths.vrpath
1516825241198   Marionette  DEBUG   Received observer notification "command-line-startup"
1516825241198   Marionette  INFO    Enabled via --marionette
1516825241206   geckodriver::marionette TRACE     connection attempt 4/600
1516825241310   geckodriver::marionette TRACE     connection attempt 5/600
1516825241415   geckodriver::marionette TRACE     connection attempt 6/600
1516825241519   geckodriver::marionette TRACE     connection attempt 7/600
1516825241623   geckodriver::marionette TRACE     connection attempt 8/600
Unable to read VR Path Registry from /Users/atomar/Library/Application Support/OpenVR/.openvr/openvrpaths.vrpath
1516825241730   geckodriver::marionette TRACE     connection attempt 9/600
1516825241835   geckodriver::marionette TRACE     connection attempt 10/600
2018-01-24 12:20:41.897 plugin-container[1201:41152] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xae33, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
1516825241938   geckodriver::marionette TRACE     connection attempt 11/600
1516825242039   geckodriver::marionette TRACE     connection attempt 12/600
1516825242062   Marionette  DEBUG   Received observer notification "sessionstore-windows-restored"
1516825242144   geckodriver::marionette TRACE     connection attempt 13/600
1516825242203   Marionette  DEBUG   Setting recommended pref toolkit.cosmeticAnimations.enabled to false
1516825242203   Marionette  DEBUG   Setting recommended pref datareporting.policy.dataSubmissionPolicyAccepted to false
1516825242204   Marionette  DEBUG   New connections are accepted
1516825242204   Marionette  INFO    Listening on port 52776
1516825242245   geckodriver::marionette DEBUG   Connected to Marionette on localhost:52776
1516825242250   Marionette  DEBUG   Accepted connection 0 from 127.0.0.1:52816
1516825242251   geckodriver::marionette TRACE   <- {"applicationType":"gecko","marionetteProtocol":3}
1516825242251   geckodriver::marionette TRACE   -> 163:[0,1,"newSession",{"acceptInsecureCerts":true,"browserName":"firefox","capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"}}}]
1516825242251   Marionette  TRACE   0 -> [0,1,"newSession",{"acceptInsecureCerts":true,"browserName":"firefox","capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"}}}]
1516825242252   Marionette  WARN    TLS certificate errors will be ignored for this session
1516825242310   Marionette  DEBUG   Register listener.js for window 2147483649
1516825242326   Marionette  TRACE   0 <- [1,1,null,{"sessionId":"12b26e37-4212-7644-a157-07e2ee032ff3","capabilities":{"browserName":"firefox","browserVersion":"58.0" ... 00,"moz:profile":"/var/folders/hr/lf3xj9js0_1gtld_ldw7jynh32drgp/T/rust_mozprofile.fORmpUDGGrRz","moz:webdriverClick":true}}]
1516825242327   geckodriver::marionette TRACE   <- [1,1,null,{"sessionId":"12b26e37-4212-7644-a157-07e2ee032ff3","capabilities":{"browserName":"firefox","browserVersion":"58.0","platformName":"darwin","platformVersion":"16.7.0","pageLoadStrategy":"normal","acceptInsecureCerts":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":1200,"moz:profile":"/var/folders/hr/lf3xj9js0_1gtld_ldw7jynh32drgp/T/rust_mozprofile.fORmpUDGGrRz","moz:webdriverClick":true}}]
1516825242327   webdriver::server   DEBUG   <- 200 OK {"value": {"sessionId":"12b26e37-4212-7644-a157-07e2ee032ff3","capabilities":{"acceptInsecureCerts":true,"browserName":"firefox","browserVersion":"58.0","moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":1200,"moz:profile":"/var/folders/hr/lf3xj9js0_1gtld_ldw7jynh32drgp/T/rust_mozprofile.fORmpUDGGrRz","moz:webdriverClick":true,"pageLoadStrategy":"normal","platformName":"darwin","platformVersion":"16.7.0","rotatable":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}}
Jan 24, 2018 12:20:42 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
1516825242375   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/window/maximize {}
1516825242375   geckodriver::marionette TRACE   -> 25:[0,2,"maximizeWindow",{}]
1516825242376   Marionette  TRACE   0 -> [0,2,"maximizeWindow",{}]
1516825242693   Marionette  TRACE   0 <- [1,2,null,{"x":0,"y":23,"width":1440,"height":810,"state":"maximized"}]
1516825242773   geckodriver::marionette TRACE   <- [1,2,null,{"x":0,"y":23,"width":1440,"height":810,"state":"maximized"}]
1516825242773   webdriver::server   DEBUG   <- 200 OK {"value": {"height":810,"width":1440,"x":0,"y":23}}
1516825242777   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/timeouts {"implicit":10000}
1516825242777   geckodriver::marionette TRACE   -> 38:[0,3,"setTimeouts",{"implicit":10000}]
1516825242778   Marionette  TRACE   0 -> [0,3,"setTimeouts",{"implicit":10000}]
1516825242778   Marionette  TRACE   0 <- [1,3,null,{}]
1516825242778   geckodriver::marionette TRACE   <- [1,3,null,{}]
1516825242778   webdriver::server   DEBUG   <- 200 OK {"value": {}}
1516825242781   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/url {"url":"https://www.makemytrip.com/"}
1516825242782   geckodriver::marionette TRACE   -> 49:[0,4,"get",{"url":"https://www.makemytrip.com/"}]
1516825242811   Marionette  TRACE   0 -> [0,4,"get",{"url":"https://www.makemytrip.com/"}]
1516825242813   Marionette  DEBUG   Received DOM event "beforeunload" for "about:blank"
Unable to read VR Path Registry from /Users/atomar/Library/Application Support/OpenVR/.openvr/openvrpaths.vrpath
2018-01-24 12:20:42.990 plugin-container[1202:41262] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xa733, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
1516825244307   Marionette  DEBUG   Received DOM event "pagehide" for "about:blank"
1516825246039   Marionette  DEBUG   Received DOM event "DOMContentLoaded" for "https://www.makemytrip.com/"
JavaScript error: https://jsak.mmtcdn.com/pwa-hlp/dist/assets/js/widgetFlights-29a7b38194.min.js, line 9: ReferenceError: event is not defined
1516825250101   Marionette  DEBUG   Received DOM event "pageshow" for "https://www.makemytrip.com/"
1516825250102   Marionette  TRACE   0 <- [1,4,null,{}]
1516825250103   geckodriver::marionette TRACE   <- [1,4,null,{}]
1516825250103   webdriver::server   DEBUG   <- 200 OK {"value": {}}
1516825250110   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/element {"value":"#hp\\-widget__sfrom","using":"css selector"}
1516825250110   geckodriver::marionette TRACE   -> 74:[0,5,"findElement",{"using":"css selector","value":"#hp\\-widget__sfrom"}]
1516825250113   Marionette  TRACE   0 -> [0,5,"findElement",{"using":"css selector","value":"#hp\\-widget__sfrom"}]
1516825250256   Marionette  TRACE   0 <- [1,5,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"c5eac08f-cc19-8742-9352-6fd45a1b710e","ELEMENT":"c5eac08f-cc19-8742-9352-6fd45a1b710e"}}]
1516825250257   geckodriver::marionette TRACE   <- [1,5,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"c5eac08f-cc19-8742-9352-6fd45a1b710e","ELEMENT":"c5eac08f-cc19-8742-9352-6fd45a1b710e"}}]
1516825250257   webdriver::server   DEBUG   <- 200 OK {"value":{"element-6066-11e4-a52e-4f735466cecf":"c5eac08f-cc19-8742-9352-6fd45a1b710e"}}
1516825250264   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/element/c5eac08f-cc19-8742-9352-6fd45a1b710e/clear {"id":"c5eac08f-cc19-8742-9352-6fd45a1b710e"}
1516825250265   geckodriver::marionette TRACE   -> 66:[0,6,"clearElement",{"id":"c5eac08f-cc19-8742-9352-6fd45a1b710e"}]
1516825250267   Marionette  TRACE   0 -> [0,6,"clearElement",{"id":"c5eac08f-cc19-8742-9352-6fd45a1b710e"}]
1516825250422   Marionette  TRACE   0 <- [1,6,null,{}]
1516825250423   geckodriver::marionette TRACE   <- [1,6,null,{}]
1516825250423   webdriver::server   DEBUG   <- 200 OK {"value": {}}
1516825250428   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/element/c5eac08f-cc19-8742-9352-6fd45a1b710e/value {"id":"c5eac08f-cc19-8742-9352-6fd45a1b710e","text":"chan","value":["c","h","a","n"]}
1516825250429   geckodriver::marionette TRACE   -> 111:[0,7,"sendKeysToElement",{"id":"c5eac08f-cc19-8742-9352-6fd45a1b710e","text":"chan","value":["c","h","a","n"]}]
1516825250430   Marionette  TRACE   0 -> [0,7,"sendKeysToElement",{"id":"c5eac08f-cc19-8742-9352-6fd45a1b710e","text":"chan","value":["c","h","a","n"]}]
1516825250554   Marionette  TRACE   0 <- [1,7,null,{}]
1516825250554   geckodriver::marionette TRACE   <- [1,7,null,{}]
1516825250555   webdriver::server   DEBUG   <- 200 OK {"value": {}}
1516825253559   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/element {"value":"//div[@class\u003d\u0027locationFilter autocomplete_from\u0027]","using":"xpath"}
1516825253559   geckodriver::marionette TRACE   -> 96:[0,8,"findElement",{"using":"xpath","value":"//div[@class='locationFilter autocomplete_from']"}]
1516825253561   Marionette  TRACE   0 -> [0,8,"findElement",{"using":"xpath","value":"//div[@class='locationFilter autocomplete_from']"}]
1516825253564   Marionette  TRACE   0 <- [1,8,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5c2809b3-c245-d647-bfd9-e97227d98659","ELEMENT":"5c2809b3-c245-d647-bfd9-e97227d98659"}}]
1516825253564   geckodriver::marionette TRACE   <- [1,8,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5c2809b3-c245-d647-bfd9-e97227d98659","ELEMENT":"5c2809b3-c245-d647-bfd9-e97227d98659"}}]
1516825253564   webdriver::server   DEBUG   <- 200 OK {"value":{"element-6066-11e4-a52e-4f735466cecf":"5c2809b3-c245-d647-bfd9-e97227d98659"}}
1516825253567   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/element/5c2809b3-c245-d647-bfd9-e97227d98659/elements {"using":"css selector","id":"5c2809b3-c245-d647-bfd9-e97227d98659","value":".ui\\-menu\\-item"}
1516825253567   geckodriver::marionette TRACE   -> 122:[0,9,"findElements",{"element":"5c2809b3-c245-d647-bfd9-e97227d98659","using":"css selector","value":".ui\\-menu\\-item"}]
1516825253568   Marionette  TRACE   0 -> [0,9,"findElements",{"element":"5c2809b3-c245-d647-bfd9-e97227d98659","using":"css selector","value":".ui\\-menu\\-item"}]
1516825253573   Marionette  TRACE   0 <- [1,9,null,[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c","ELEMENT":"8366aa0d-a30a-6a47-b36c-8 ... ement-6066-11e4-a52e-4f735466cecf":"fa725bb2-8145-e34c-952c-15552487de63","ELEMENT":"fa725bb2-8145-e34c-952c-15552487de63"}]]
1516825253574   geckodriver::marionette TRACE   <- [1,9,null,[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c","ELEMENT":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c"},{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea","ELEMENT":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},{"element-6066-11e4-a52e-4f735466cecf":"3ddc7867-ac96-9742-bb7c-533777bd3c8d","ELEMENT":"3ddc7867-ac96-9742-bb7c-533777bd3c8d"},{"element-6066-11e4-a52e-4f735466cecf":"59da8122-0dc5-6349-b6f1-524efaa1e0dc","ELEMENT":"59da8122-0dc5-6349-b6f1-524efaa1e0dc"},{"element-6066-11e4-a52e-4f735466cecf":"520dee92-c918-324b-b4c5-15bb2b5ad2b5","ELEMENT":"520dee92-c918-324b-b4c5-15bb2b5ad2b5"},{"element-6066-11e4-a52e-4f735466cecf":"0796ad28-9bcc-d949-afd8-d532e602909f","ELEMENT":"0796ad28-9bcc-d949-afd8-d532e602909f"},{"element-6066-11e4-a52e-4f735466cecf":"fa725bb2-8145-e34c-952c-15552487de63","ELEMENT":"fa725bb2-8145-e34c-952c-15552487de63"}]]
1516825253574   webdriver::server   DEBUG   <- 200 OK {"value":[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c"},{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},{"element-6066-11e4-a52e-4f735466cecf":"3ddc7867-ac96-9742-bb7c-533777bd3c8d"},{"element-6066-11e4-a52e-4f735466cecf":"59da8122-0dc5-6349-b6f1-524efaa1e0dc"},{"element-6066-11e4-a52e-4f735466cecf":"520dee92-c918-324b-b4c5-15bb2b5ad2b5"},{"element-6066-11e4-a52e-4f735466cecf":"0796ad28-9bcc-d949-afd8-d532e602909f"},{"element-6066-11e4-a52e-4f735466cecf":"fa725bb2-8145-e34c-952c-15552487de63"}]}
1516825253583   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c"},"aria-label"]}
1516825253584   geckodriver::marionette TRACE   -> 6813:[0,10,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516825253585   Marionette  TRACE   0 -> [0,10,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c"},"aria-label"]," ... dow!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516825253592   Marionette  TRACE   0 <- [1,10,null,{"value":"Search Result : Chandigarh, India "}]
1516825253592   geckodriver::marionette TRACE   <- [1,10,null,{"value":"Search Result : Chandigarh, India "}]
1516825253592   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Chandigarh, India "}
Element : Search Result : Chandigarh, India 
1516825253596   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.ty1p5e1.6t8o2L5o2w5e3r5C9a7s    eM(a)r;iiofn(e\t"tceh   eTcRkAbCoEx \0" \-u>0 0[30d,\1u10,0"3edxee|c|u\t"erSacdriiop\t""\,u{0"0a3rdg\su":[{"el0em0e3ndte-)6b0\6u60-0131de\4"-cah5e2cek-e4df\7"3;5r4e6t6ucrenc fS(a,b)"?:\""8t3r6u6ea\a"0:dn-ual3l0}av-a6ra 4g7\-ub03063c-84d7ddb8Rc(da5,0\c""A\");if(R(a,\"I}M,G"\a"r)i\au-0l0a2b6e\lu"0]0,2"6 \.".s.r cd\o"w\!u=0'0u3ndd\euf0i0n3eddc'|?|wgi\nud0o0w2.6\u0026\"hrdeofc\u"m\eun0t0:3ndu\lul0}0,3 dacr)gruemteunrtns()e;\}u\0n0)3.daQp(pal,yc()n)u\lul0,0 2a6r\guu0m0e2n6ts);("e,\"us0c0riptTimeo3utd"S:(nau,lcl),)",sep;eicfi(a\l"Psopweelrlsc"h:efcakl\s"e\}u]0
03d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c"},"aria-label"]}
1516825253597   geckodriver::marionette TRACE   -> 6813:[0,11,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"8366aa0d-a30a-6a47-b36c-84d7db8cd50c"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516825253601   Marionette  TRACE   0 <- [1,11,null,{"value":"Search Result : Chandigarh, India "}]
1516825253601   geckodriver::marionette TRACE   <- [1,11,null,{"value":"Search Result : Chandigarh, India "}]
1516825253601   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Chandigarh, India "}
1516825253605   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},"aria-label"]}
1516825253606   geckodriver::marionette TRACE   -> 6813:[0,12,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516825253607   Marionette  TRACE   0 -> [0,12,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},"aria-label"]," ... dow!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516825253610   Marionette  TRACE   0 <- [1,12,null,{"value":"Search Result : Changchun, China "}]
1516825253611   geckodriver::marionette TRACE   <- [1,12,null,{"value":"Search Result : Changchun, China "}]
1516825253611   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Changchun, China "}
Element : Search Result : Changchun, China 
1516825253616   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/execute/sync {"script":"return (function(){return function(){var d\u003dthis;function f(a){return\"string\"\u003d\u003dtypeof a};function h(a,b){this.code\u003da;this.a\u003dl[a]||m;this.message\u003db||\"\";a\u003dthis.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b\u003da.length-5;if(0\u003eb||a.indexOf(\"Error\",b)!\u003db)a+\u003d\"Error\";this.name\u003da;a\u003dError(this.message);a.name\u003dthis.name;this.stack\u003da.stack||\"\"}\n(function(){var a\u003dError;function b(){}b.prototype\u003da.prototype;h.b\u003da.prototype;h.prototype\u003dnew b;h.prototype.constructor\u003dh;h.a\u003dfunction(b,c,g){for(var e\u003dArray(arguments.length-2),k\u003d2;k\u003carguments.length;k++)e[k-2]\u003darguments[k];return a.prototype[c].apply(b,e)}})();var m\u003d\"unknown error\",l\u003d{15:\"element not selectable\",11:\"element not visible\"};l[31]\u003dm;l[30]\u003dm;l[24]\u003d\"invalid cookie domain\";l[29]\u003d\"invalid element coordinates\";l[12]\u003d\"invalid element state\";l[32]\u003d\"invalid selector\";l[51]\u003d\"invalid selector\";\nl[52]\u003d\"invalid selector\";l[17]\u003d\"javascript error\";l[405]\u003d\"unsupported operation\";l[34]\u003d\"move target out of bounds\";l[27]\u003d\"no such alert\";l[7]\u003d\"no such element\";l[8]\u003d\"no such frame\";l[23]\u003d\"no such window\";l[28]\u003d\"script timeout\";l[33]\u003d\"session not created\";l[10]\u003d\"stale element reference\";l[21]\u003d\"timeout\";l[25]\u003d\"unable to set cookie\";l[26]\u003d\"unexpected alert open\";l[13]\u003dm;l[9]\u003d\"unknown command\";h.prototype.toString\u003dfunction(){return this.name+\": \"+this.message};var n;a:{var p\u003dd.navigator;if(p){var q\u003dp.userAgent;if(q){n\u003dq;break a}}n\u003d\"\"}function r(a){return-1!\u003dn.indexOf(a)};function t(a,b){for(var e\u003da.length,c\u003df(a)?a.split(\"\"):a,g\u003d0;g\u003ce;g++)g in c\u0026\u0026b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")\u0026\u0026!r(\"iPod\")\u0026\u0026!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))\u0026\u0026!r(\"Edge\")};var x\u003dr(\"Opera\"),y\u003dr(\"Trident\")||r(\"MSIE\"),z\u003dr(\"Edge\"),A\u003dr(\"Gecko\")\u0026\u0026!(-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\"))\u0026\u0026!(r(\"Trident\")||r(\"MSIE\"))\u0026\u0026!r(\"Edge\"),aa\u003d-1!\u003dn.toLowerCase().indexOf(\"webkit\")\u0026\u0026!r(\"Edge\");function B(){var a\u003dd.document;return a?a.documentMode:void 0}var C;\na:{var D\u003d\"\",E\u003dfunction(){var a\u003dn;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E\u0026\u0026(D\u003dE?E[1]:\"\");if(y){var F\u003dB();if(null!\u003dF\u0026\u0026F\u003eparseFloat(D)){C\u003dString(F);break a}}C\u003dD}var G;var H\u003dd.document;G\u003dH\u0026\u0026y?B()||(\"CSS1Compat\"\u003d\u003dH.compatMode?parseInt(C,10):5):void 0;var ba\u003dr(\"Firefox\"),ca\u003dv()||r(\"iPod\"),da\u003dr(\"iPad\"),I\u003dr(\"Android\")\u0026\u0026!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea\u003dw(),J\u003dr(\"Safari\")\u0026\u0026!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a\u003da.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J\u0026\u0026!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a\u003d/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a\u003dK(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M\u003dfunction(){if(!A)return!1;var a\u003dd.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b\u003da.classes,a\u003da.interfaces,e\u003db[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c\u003db[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L\u003dfunction(a){e.compare(c,\"\"+a)};return!0}(),N\u003dy\u0026\u0026!(8\u003c\u003dNumber(G)),fa\u003dy\u0026\u0026!(9\u003c\u003dNumber(G));I\u0026\u0026M\u0026\u0026L(2.3);I\u0026\u0026M\u0026\u0026L(4);J\u0026\u0026M\u0026\u0026L(6);var ga\u003d{SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O\u003d{IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3\u003d\u003da.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a\u003da.firstChild;a;)P(a,b,e),a\u003da.nextSibling};function Q(a,b){b\u003db.toLowerCase();return\"style\"\u003d\u003db?ha(a.style.cssText):N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"INPUT\")?a.value:fa\u0026\u0026!0\u003d\u003d\u003da[b]?String(a.getAttribute(b)):(a\u003da.getAttributeNode(b))\u0026\u0026a.specified?a.value:null}var ia\u003d/[;]+(?\u003d(?:(?:[^\"]*\"){2})*[^\"]*$)(?\u003d(?:(?:[^\u0027]*\u0027){2})*[^\u0027]*$)(?\u003d(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b\u003d[];t(a.split(ia),function(a){var c\u003da.indexOf(\":\");0\u003cc\u0026\u0026(a\u003d[a.slice(0,c),a.slice(c+1)],2\u003d\u003da.length\u0026\u0026b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b\u003db.join(\"\");return b\u003d\";\"\u003d\u003db.charAt(b.length-1)?b:b+\";\"}function S(a,b){N\u0026\u0026\"value\"\u003d\u003db\u0026\u0026R(a,\"OPTION\")\u0026\u0026null\u003d\u003d\u003dQ(a,\"value\")?(b\u003d[],P(a,b,!1),a\u003db.join(\"\")):a\u003da[b];return a}function R(a,b){b\u0026\u0026\"string\"!\u003d\u003dtypeof b\u0026\u0026(b\u003db.toString());return!!a\u0026\u00261\u003d\u003da.nodeType\u0026\u0026(!b||a.tagName.toUpperCase()\u003d\u003db)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a\u003da.type.toLowerCase(),\"checkbox\"\u003d\u003da||\"radio\"\u003d\u003da):!1};var ja\u003d{\"class\":\"className\",readonly:\"readOnly\"},U\u003d\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e\u003dnull,c\u003db.toLowerCase();if(\"style\"\u003d\u003dc)return(e\u003da.style)\u0026\u0026!f(e)\u0026\u0026(e\u003de.cssText),e;if((\"selected\"\u003d\u003dc||\"checked\"\u003d\u003dc)\u0026\u0026T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b\u003d\"selected\";e\u003da.type\u0026\u0026a.type.toLowerCase();if(\"checkbox\"\u003d\u003de||\"radio\"\u003d\u003de)b\u003d\"checked\";return S(a,b)?\"true\":null}var g\u003dR(a,\"A\");if(R(a,\"IMG\")\u0026\u0026\"src\"\u003d\u003dc||g\u0026\u0026\"href\"\u003d\u003dc)return(e\u003dQ(a,c))\u0026\u0026(e\u003dS(a,c)),e;if(\"spellcheck\"\u003d\u003dc){e\u003dQ(a,c);if(null!\u003d\u003de){if(\"false\"\u003d\u003de.toLowerCase())return\"false\";if(\"true\"\u003d\u003de.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g\u003dja[b]||b;a:if(f(U))c\u003df(c)\u0026\u00261\u003d\u003dc.length?U.indexOf(c,0):-1;else{for(var u\u003d0;u\u003cU.length;u++)if(u in U\u0026\u0026U[u]\u003d\u003d\u003dc){c\u003du;break a}c\u003d-1}if(0\u003c\u003dc)return(e\u003dnull!\u003d\u003dQ(a,b)||S(a,g))?\"true\":null;try{var k\u003dS(a,g)}catch(ka){}(c\u003dnull\u003d\u003dk)||(c\u003dtypeof k,c\u003d\"object\"\u003d\u003dc\u0026\u0026null!\u003dk||\"function\"\u003d\u003dc);c?e\u003dQ(a,b):e\u003dk;return null!\u003de?e.toString():null}var W\u003d[\"_\"],X\u003dd;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length\u0026\u0026(Y\u003dW.shift());){var Z;if(Z\u003d!W.length)Z\u003dvoid 0!\u003d\u003dV;Z?X[Y]\u003dV:X[Y]\u0026\u0026X[Y]!\u003d\u003dObject.prototype[Y]?X\u003dX[Y]:X\u003dX[Y]\u003d{}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!\u003d\u0027undefined\u0027?window.navigator:null,document:typeof window!\u003d\u0027undefined\u0027?window.document:null}, arguments);}\n).apply(null, arguments);","args":[{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},"aria-label"]}
1516825253616   geckodriver::marionette TRACE   -> 6813:[0,13,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},"aria-label"],"newSandbox":false,"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34]=\"move target out of bounds\";l[27]=\"no such alert\";l[7]=\"no such element\";l[8]=\"no such frame\";l[23]=\"no such window\";l[28]=\"script timeout\";l[33]=\"session not created\";l[10]=\"stale element reference\";l[21]=\"timeout\";l[25]=\"unable to set cookie\";l[26]=\"unexpected alert open\";l[13]=m;l[9]=\"unknown command\";h.prototype.toString=function(){return this.name+\": \"+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=\"\"}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(\"\"):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r(\"iPhone\")&&!r(\"iPod\")&&!r(\"iPad\")};function w(){return(r(\"Chrome\")||r(\"CriOS\"))&&!r(\"Edge\")};var x=r(\"Opera\"),y=r(\"Trident\")||r(\"MSIE\"),z=r(\"Edge\"),A=r(\"Gecko\")&&!(-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\"))&&!(r(\"Trident\")||r(\"MSIE\"))&&!r(\"Edge\"),aa=-1!=n.toLowerCase().indexOf(\"webkit\")&&!r(\"Edge\");function B(){var a=d.document;return a?a.documentMode:void 0}var C;\na:{var D=\"\",E=function(){var a=n;if(A)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(z)return/Edge\\/([\\d\\.]+)/.exec(a);if(y)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(aa)return/WebKit\\/(\\S+)/.exec(a);if(x)return/(?:Version)[ \\/]?(\\S+)/.exec(a)}();E&&(D=E?E[1]:\"\");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||(\"CSS1Compat\"==H.compatMode?parseInt(C,10):5):void 0;var ba=r(\"Firefox\"),ca=v()||r(\"iPod\"),da=r(\"iPad\"),I=r(\"Android\")&&!(w()||r(\"Firefox\")||r(\"Opera\")||r(\"Silk\")),ea=w(),J=r(\"Safari\")&&!(w()||r(\"Coast\")||r(\"Opera\")||r(\"Edge\")||r(\"Silk\")||r(\"Android\"))&&!(v()||r(\"iPad\")||r(\"iPod\"));function K(a){return(a=a.exec(n))?a[1]:\"\"}(function(){if(ba)return K(/Firefox\\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r(\"iPad\")||r(\"iPod\")?K(/CriOS\\/([0-9.]+)/):K(/Chrome\\/([0-9.]+)/);if(J&&!(v()||r(\"iPad\")||r(\"iPod\")))return K(/Version\\/([0-9.]+)/);if(ca||da){var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(n);if(a)return a[1]+\".\"+a[2]}else if(I)return(a=K(/Android\\s+([0-9.]+)/))?a:K(/Version\\/([0-9.]+)/);return\"\"})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b[\"@mozilla.org/xpcom/version-comparator;1\"].getService(a.nsIVersionComparator),c=b[\"@mozilla.org/xre/app-info;1\"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,\"\"+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:\" \",BR:\"\\n\"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return\"style\"==b?ha(a.style.cssText):N&&\"value\"==b&&R(a,\"INPUT\")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\\([^()]*\\))*[^()]*$)/;\nfunction ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}function S(a,b){N&&\"value\"==b&&R(a,\"OPTION\")&&null===Q(a,\"value\")?(b=[],P(a,b,!1),a=b.join(\"\")):a=a[b];return a}function R(a,b){b&&\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}\nfunction T(a){return R(a,\"OPTION\")?!0:R(a,\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ja={\"class\":\"className\",readonly:\"readOnly\"},U=\"async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate\".split(\" \");function V(a,b){var e=null,c=b.toLowerCase();if(\"style\"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if((\"selected\"==c||\"checked\"==c)&&T(a)){if(!T(a))throw new h(15,\"Element is not selectable\");b=\"selected\";e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e||\"radio\"==e)b=\"checked\";return S(a,b)?\"true\":null}var g=R(a,\"A\");if(R(a,\"IMG\")&&\"src\"==c||g&&\"href\"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if(\"spellcheck\"==c){e=Q(a,c);if(null!==e){if(\"false\"==e.toLowerCase())return\"false\";if(\"true\"==e.toLowerCase())return\"true\"}return S(a,\nc)+\"\"}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?\"true\":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c=\"object\"==c&&null!=k||\"function\"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=[\"_\"],X=d;W[0]in X||!X.execScript||X.execScript(\"var \"+W[0]);\nfor(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516825253618   Marionette  TRACE   0 -> [0,13,"executeScript",{"args":[{"element-6066-11e4-a52e-4f735466cecf":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"},"aria-label"]," ... dow!='undefined'?window.document:null}, arguments);}\n).apply(null, arguments);","scriptTimeout":null,"specialPowers":false}]
1516825253622   Marionette  TRACE   0 <- [1,13,null,{"value":"Search Result : Changchun, China "}]
1516825253623   geckodriver::marionette TRACE   <- [1,13,null,{"value":"Search Result : Changchun, China "}]
1516825253623   webdriver::server   DEBUG   <- 200 OK {"value":"Search Result : Changchun, China "}
Just before clicking the element
1516825253625   webdriver::server   DEBUG   -> POST /session/12b26e37-4212-7644-a157-07e2ee032ff3/element/000bd3ac-b79c-874a-be8e-60063ccdd9ea/click {"id":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"}
1516825253625   geckodriver::marionette TRACE   -> 67:[0,14,"clickElement",{"id":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"}]
1516825253626   Marionette  TRACE   0 -> [0,14,"clickElement",{"id":"000bd3ac-b79c-874a-be8e-60063ccdd9ea"}]
1516825253913   Marionette  DEBUG   Canceled page load listener because no navigation has been detected
1516825253916   Marionette  TRACE   0 <- [1,14,null,{}]
1516825253918   geckodriver::marionette TRACE   <- [1,14,null,{}]
1516825253918   webdriver::server   DEBUG   <- 200 OK {"value": {}}
Completed
1516825256927   webdriver::server   DEBUG   -> DELETE /session/12b26e37-4212-7644-a157-07e2ee032ff3 
1516825256927   geckodriver::marionette TRACE   -> 38:[0,15,"quit",{"flags":["eForceQuit"]}]
1516825256929   Marionette  TRACE   0 -> [0,15,"quit",{"flags":["eForceQuit"]}]
1516825256930   Marionette  DEBUG   New connections will no longer be accepted
1516825256973   Marionette  TRACE   0 <- [1,15,null,{"cause":"shutdown"}]
1516825257019   geckodriver::marionette TRACE   <- [1,15,null,{"cause":"shutdown"}]
1516825257019   webdriver::server   DEBUG   Deleting session
1516825257019   geckodriver::marionette DEBUG   Stopping browser process
1516825257117   webdriver::server   DEBUG   <- 200 OK {"value": {}}
whimboo commented 6 years ago

@atomar09 please answer the questions from my last comment. Thanks.

atomar09 commented 6 years ago

I do not exactly which framework this website is using. But this time, I have provided the correct trace log where it shows the click event.

Could you please take a look?

atomar09 commented 6 years ago

It is also reproduced on one more website, again on the auto-complete list.

atomar09 commented 6 years ago

@whimboo I see that you suggested issues related to React and Angular. But the above issue is not related to dropdown as there is no dropdown involved in the action.

If you look at it, you will see that it is a text box which triggers the list of items we can select. There is no Select Class involved.

Could you please look into it?

whimboo commented 5 years ago

Sorry for the delay on this issue. But it seems to be complicated. First it happens for both the old click and the new webdriver spec click. The coordinates for the click are 210 / 318, which are clearly in the client rect of the target element.

As such the only assumption I have is that something fails synthesizing the click inside of synthesizeMouseAtPoint.

Given the nature of the website and the huge amount of Javascript code involved, this is very hard to track further down. And I don't have the time for it at the moment.

atomar09 commented 5 years ago

This is a very common scenario and these kind of search fields exists on many websites. It works perfectly fine in Chrome. Since usually automation is done for multiple browsers, it would be important to fix issues on Firefox also.

Any support is appreciated.

andreastt commented 5 years ago

If you could provide a reduced test case, preferably using only standard web APIs, this would help with diagnosing the issue.

atomar09 commented 5 years ago

Could you please explain? I am not using any APIs here.

I am simply typing something in the text field, which shows the list of items and then trying to click on one of the item. What would be a reduced version of this?

whimboo commented 5 years ago

Note what we have dozen of testcases for clicking elements of any type. So click is already well tested. But the website used here is built upon a webframework like React or Angular, and is most likely doing some magic with JS code. A reduced testcase would mean that the website's content would need to be reduced, so all this extra cruft is removed but the problem is still persistent.

atomar09 commented 5 years ago

It's a public website, sorry but we do not have any control over reducing the website content.

twalpole commented 5 years ago

@atomar09 You're not being asked to change the website, you're being asked to create a test case that shows the issue using the minimum web content possible. That could potentially be done by copying the pages content and then reducing it, or by figuring out why the issue is happening on the page and writing a test case that replicates just that part of it.

twalpole commented 5 years ago

I THINK this is caused by geckodriver not correctly taking into account the overflow nature of the box containing the li elements, and clicking where the li would be if it weren't hidden by overflow. This results in a click outside the menu which defaults to selecting the first element (as opposed to the click actually occurring on the first li)

atomar09 commented 5 years ago

The code I provided with the description is the reduced version only. It is doing only what is needed.

  1. Typing in the text field.
  2. Then clicking on an item from the list.

Copying the page content would not help us because the list is shown dynamically on typing the text in the field. Most likely that data retrieval is happening from business logic.

twalpole commented 5 years ago

@atomar09 The fact that the choices are dynamically loaded is irrelevant to the bug (filling in the field is also irrelevant to the actual bug). It should be possible to create static HTML with the required combination of CSS (relative/absolute positioning, overflow, etc) to replicate the issue (that is what a minimal reproduction would be). Doing so would then narrow down what the actual cause of the issue is, and provide a test case to ensure the issue doesn’t reappear after it’s fixed.

atomar09 commented 5 years ago

Sorry, I am not a web developer and have no idea on how to make sure to create above scenario mentioned by you.

atomar09 commented 5 years ago

There are other websites, where the similar clicks works fine. Example: southwest.com

whimboo commented 4 years ago

@atomar09 would you mind retrying with Firefox 82 if that is fixed for you now? I've made some improvements that were related to Element Click. If it still doesn't work please provide another trace log. Thanks!

atomar09 commented 3 years ago

Hi,

It seems to work fine with the latest driver and browser combination. Thanks

whimboo commented 3 years ago

Great to hear that! Marking issue as fixed then. Thanks.