The command to find child elements searches the whole document

RESOLVED FIXED in Firefox 43

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: barancev, Assigned: automatedtester)

Tracking

(Blocks: 1 bug, {pi-marionette-server})

43 Branch
mozilla43
pi-marionette-server
Points:
---

Firefox Tracking Flags

(firefox43 fixed)

Details

MozReview Requests

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36

Steps to reproduce:

    WebElement elem = driver.findElement(By.id("links"));
    List<WebElement> elements = elem.findElements(By.partialLinkText("link"));
    assertEquals(6, elements.size());


Actual results:

Marionette returns too many elements, it searches the whole document, not the children of the given element only.
Findings so far are that Selenium sends an "id" field in the request body (https://github.com/SeleniumHQ/selenium/blob/master/java/client/src/org/openqa/selenium/remote/http/JsonHttpCommandCodec.java#L129) that is superfluous since wires extracts the element ID from the URI template variable (https://github.com/jgraham/wires/blob/master/src/marionette.rs#L751).  It then calls Marionette’s findElements command with an "element" field in the JSON packet, which is expected (https://dxr.mozilla.org/mozilla-central/source/testing/marionette/driver.js?from=marionette%2Fdriver.js#1949).

Conclusions so far are that:

- The specification should look at the ID in the URI, not in the body
- The findChildElement and findChildElements commands in Marionette are not needed now that we have wires
Blocks: 721859
Filed bug 1205638 about removing findChildElement and findChildElements.
(Assignee)

Comment 3

3 years ago
I have a reproducible case 

build/python/bin/py.test build/lib/selenium/test/selenium/webdriver/firefox/ -k="-ignore_firefox and test_should_find_elements_by_link_text" --junitxml=build/test_logs/python-ff-1442497708.xml
============================= test session starts ==============================
platform darwin -- Python 2.7.10 -- py-1.4.26 -- pytest-2.7.0
rootdir: /Users/dburns/development/selenium, inifile: pytest.ini
collected 486 items

build/lib/selenium/test/selenium/webdriver/firefox/ff_children_finding_tests.py F

=================================== FAILURES ===================================
______ FirefoxChildrenFindingTests.test_should_find_elements_by_link_text ______

self = <selenium.test.selenium.webdriver.firefox.ff_children_finding_tests.FirefoxChildrenFindingTests testMethod=test_should_find_elements_by_link_text>

    def test_should_find_elements_by_link_text(self):
        self._load_page("nestedElements")
        element = self.driver.find_element_by_name("div1")
        children = element.find_elements_by_link_text("hello world")
>       self.assertEqual(len(children), 2)
E       AssertionError: 12 != 2

build/lib/selenium/test/selenium/webdriver/common/children_finding_tests.py:122: AssertionError
 generated xml file: /Users/dburns/development/selenium/build/test_logs/python-ff-1442497708.xml
 485 tests deselected by '-k-ignore_firefox and test_should_find_elements_by_link_text'
=================== 1 failed, 485 deselected in 3.73 seconds ===================
^C%                                                                                                                                        dburns in ~/development/selenium on master ● λ cat geckodriver.log
1442497710470	Marionette	INFO	Marionette enabled via build flag and pref
1442497710604	Marionette	INFO	Listening on port 2828
1442497710894	Marionette	INFO	Marionette enabled via command-line flag
1442497710931	Marionette	INFO	Accepted connection conn0 from 127.0.0.1:56859
1442497710931	Marionette	DEBUG	conn0 client <- {"applicationType":"gecko","marionetteProtocol":2}
1442497710970	Marionette	DEBUG	conn0 -> {"name":"newSession","parameters":{"capabilities":null,"sessionId":null}}
1442497711733	Marionette	INFO	loaded listener.js
1442497711737	Marionette	INFO	loaded listener.js
1442497711830	Marionette	DEBUG	conn0 client <- {"sessionId":"7ce57478-bf5a-ae45-a366-f60c186a89cf","capabilities":{"browserName":"Firefox","browserVersion":"43.0a1","platformName":"DARWIN","platformVersion":"43.0a1","specificationLevel":"1","raisesAccessibilityExceptions":false,"rotatable":false,"acceptSslCerts":false,"takesElementScreenshot":true,"takesScreenshot":true,"proxy":{},"platform":"DARWIN","XULappId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","appBuildId":"20150916030203","device":"desktop","version":"43.0a1"}}
1442497711849	Marionette	DEBUG	conn0 -> {"name":"get","parameters":{"url":"http://192.168.1.7:8001/nestedElements.html"},"sessionId":"7ce57478-bf5a-ae45-a366-f60c186a89cf"}
1442497712013	Marionette	DEBUG	conn0 client <- {}
1442497712015	Marionette	DEBUG	conn0 -> {"name":"findElement","parameters":{"using":"css selector","value":"[name=\"div1\"]"},"sessionId":"7ce57478-bf5a-ae45-a366-f60c186a89cf"}
1442497712017	Marionette	DEBUG	conn0 client <- {"value":{"ELEMENT":"4978a4be-cf78-1541-925a-71889467126d"}}
1442497712019	Marionette	DEBUG	conn0 -> {"name":"findElements","parameters":{"element":"4978a4be-cf78-1541-925a-71889467126d","using":"link text","value":"hello world"},"sessionId":"7ce57478-bf5a-ae45-a366-f60c186a89cf"}
1442497712022	Marionette	DEBUG	conn0 client <- [{"ELEMENT":"714409cb-fec9-bf4a-b0ca-88aabad1828d"},{"ELEMENT":"6ca6077e-107b-fe43-9560-a8370a35bb44"},{"ELEMENT":"7c03c86b-de22-8742-ba85-639a91ebaff5"},{"ELEMENT":"ef915258-7b39-e847-9ae9-5806f0ca8ea7"},{"ELEMENT":"e1bc11b1-e324-eb47-a909-adaeb5b801dd"},{"ELEMENT":"b42e8797-158e-c647-8e69-4473be3924ef"},{"ELEMENT":"331e7155-ae33-9b4e-85b1-1dd8d74859eb"},{"ELEMENT":"9cbc7c62-3462-3d4e-bf3b-48f19d249aa9"},{"ELEMENT":"e77d5b04-cb32-ab4a-ab02-2b42dbba7335"},{"ELEMENT":"079e8a0d-16ad-4441-a719-6a827b7a24b0"},{"ELEMENT":"5940796d-5fff-bf4d-898d-f81f32b5f907"},{"ELEMENT":"743deab7-76ba-f648-ab6d-580a311bd33a"}]
1442497712046	Marionette	DEBUG	conn0 -> {"name":"deleteSession","parameters":{},"sessionId":"7ce57478-bf5a-ae45-a366-f60c186a89cf"}
1442497712056	Marionette	DEBUG	conn0 client <- {}
(Assignee)

Comment 4

3 years ago
Now with Wires messages


build/python/bin/py.test build/lib/selenium/test/selenium/webdriver/firefox/ -k="-ignore_firefox and test_should_find_elements_by_link_text" --junitxml=build/test_logs/python-ff-1442517457.xml
============================= test session starts ==============================
platform darwin -- Python 2.7.10 -- py-1.4.26 -- pytest-2.7.0
rootdir: /Users/dburns/development/selenium, inifile: pytest.ini
collected 486 items

build/lib/selenium/test/selenium/webdriver/firefox/ff_children_finding_tests.py F

=================================== FAILURES ===================================
______ FirefoxChildrenFindingTests.test_should_find_elements_by_link_text ______

self = <selenium.test.selenium.webdriver.firefox.ff_children_finding_tests.FirefoxChildrenFindingTests testMethod=test_should_find_elements_by_link_text>

    def test_should_find_elements_by_link_text(self):
        self._load_page("nestedElements")
        element = self.driver.find_element_by_name("div1")
        children = element.find_elements_by_link_text("hello world")
>       self.assertEqual(len(children), 2)
E       AssertionError: 12 != 2

build/lib/selenium/test/selenium/webdriver/common/children_finding_tests.py:122: AssertionError
 generated xml file: /Users/dburns/development/selenium/build/test_logs/python-ff-1442517457.xml
 485 tests deselected by '-k-ignore_firefox and test_should_find_elements_by_link_text'
=================== 1 failed, 485 deselected in 4.23 seconds ===================
^C%                                                                                                                                        dburns in ~/development/selenium on master ● λ cat geckodriver.log
DEBUG:webdriver::httpapi: Creating routes
DEBUG:hyper::server: threads = 5
DEBUG:hyper::server: Incoming stream
DEBUG:hyper::server: keep_alive loop ending for 127.0.0.1:59042
DEBUG:hyper::server: Incoming stream
DEBUG:hyper::server::request: Request Line: Post AbsolutePath("/session") Http11
DEBUG:hyper::server::request: Headers { Connection: keep-alive, Content-type: application/json;charset="UTF-8", Content-Length: 132, Accept-Encoding: identity, User-Agent: Python http auth, Accept: application/json, Host: 127.0.0.1:59040, POST: /session, }
DEBUG:webdriver::server: Got request POST AbsolutePath("/session")
DEBUG:webdriver::command: Got request body {"desiredCapabilities": {"platform": "ANY", "browserName": "firefox", "version": "", "marionette": true, "javascriptEnabled": true}}
DEBUG:wires::marionette: Got NewSession command
DEBUG:mozprofile::profile: Using profile path /var/folders/7n/2f615rtj42l0ppz5jg_nch0c0000gp/T/rust_mozprofile.Vq4Z1wneidWH
DEBUG:wires::marionette: Browser started
DEBUG:wires::marionette: Creating connection
DEBUG:wires::marionette: Starting marionette connection
DEBUG:wires::marionette: 0/600
DEBUG:wires::marionette: 1/600
DEBUG:wires::marionette: 2/600
DEBUG:wires::marionette: 3/600
DEBUG:wires::marionette: 4/600
DEBUG:wires::marionette: 5/600
DEBUG:wires::marionette: 6/600
1442517460080	Marionette	INFO	Marionette enabled via build flag and pref
DEBUG:wires::marionette: 7/600
DEBUG:wires::marionette: 8/600
DEBUG:wires::marionette: 9/600
DEBUG:wires::marionette: 10/600
1442517460418	Marionette	INFO	Listening on port 2828
DEBUG:wires::marionette: TCP stream open
DEBUG:wires::marionette: Entering read_resp
1442517460640	Marionette	INFO	Marionette enabled via command-line flag
1442517460664	Marionette	INFO	Accepted connection conn0 from 127.0.0.1:59056
1442517460664	Marionette	DEBUG	conn0 client <- {"applicationType":"gecko","marionetteProtocol":2}
DEBUG:wires::marionette: Got byte 5
DEBUG:wires::marionette: Got byte 0
DEBUG:wires::marionette: Got byte :
DEBUG:wires::marionette: Leaving read_resp
DEBUG:wires::marionette: Marionette connection started
DEBUG:wires::marionette: Creating NewSession message
DEBUG:wires::marionette: Sending 73:{"name":"newSession","parameters":{"capabilities":null,"sessionId":null}}
DEBUG:wires::marionette: Entering read_resp
1442517460714	Marionette	DEBUG	conn0 -> {"name":"newSession","parameters":{"capabilities":null,"sessionId":null}}
1442517461582	Marionette	INFO	loaded listener.js
1442517461586	Marionette	INFO	loaded listener.js
1442517461675	Marionette	DEBUG	conn0 client <- {"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447","capabilities":{"browserName":"Firefox","browserVersion":"43.0a1","platformName":"DARWIN","platformVersion":"43.0a1","specificationLevel":"1","raisesAccessibilityExceptions":false,"rotatable":false,"acceptSslCerts":false,"takesElementScreenshot":true,"takesScreenshot":true,"proxy":{},"platform":"DARWIN","XULappId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","appBuildId":"20150917030229","device":"desktop","version":"43.0a1"}}
DEBUG:wires::marionette: Got byte 4
DEBUG:wires::marionette: Got byte 7
DEBUG:wires::marionette: Got byte 8
DEBUG:wires::marionette: Got byte :
DEBUG:wires::marionette: Leaving read_resp
DEBUG:wires::marionette: Marionette response {"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447","capabilities":{"browserName":"Firefox","browserVersion":"43.0a1","platformName":"DARWIN","platformVersion":"43.0a1","specificationLevel":"1","raisesAccessibilityExceptions":false,"rotatable":false,"acceptSslCerts":false,"takesElementScreenshot":true,"takesScreenshot":true,"proxy":{},"platform":"DARWIN","XULappId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","appBuildId":"20150917030229","device":"desktop","version":"43.0a1"}}
DEBUG:webdriver::server: Returning status Ok
DEBUG:webdriver::server: Returning body {"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447","value":{"XULappId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","acceptSslCerts":false,"appBuildId":"20150917030229","browserName":"Firefox","browserVersion":"43.0a1","device":"desktop","platform":"DARWIN","platformName":"DARWIN","platformVersion":"43.0a1","proxy":{},"raisesAccessibilityExceptions":false,"rotatable":false,"specificationLevel":"1","takesElementScreenshot":true,"takesScreenshot":true,"version":"43.0a1"}}
DEBUG:hyper::server::response: writing head: Http11 Ok
DEBUG:hyper::server::response: headers [
Headers { Content-Length: 471, Content-Type: application/json; charset=utf-8, Date: Thu, 17 Sep 2015 19:17:41 GMT, }]
DEBUG:hyper::server::response: write 471 bytes
DEBUG:hyper::server: keep_alive = true for 127.0.0.1:59043
DEBUG:hyper::server::request: Request Line: Post AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447/url") Http11
DEBUG:hyper::server::request: Headers { Host: 127.0.0.1:59040, Accept-Encoding: identity, Accept: application/json, Content-type: application/json;charset="UTF-8", Content-Length: 107, User-Agent: Python http auth, Connection: keep-alive, POST: /session/edec10d0-7b9e-4147-b503-aa428c3f6447/url, }
DEBUG:webdriver::server: Got request POST AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447/url")
DEBUG:webdriver::command: Got request body {"url": "http://192.168.1.7:8002/nestedElements.html", "sessionId": "edec10d0-7b9e-4147-b503-aa428c3f6447"}
DEBUG:wires::marionette: Sending 132:{"name":"get","parameters":{"url":"http://192.168.1.7:8002/nestedElements.html"},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
DEBUG:wires::marionette: Entering read_resp
1442517461689	Marionette	DEBUG	conn0 -> {"name":"get","parameters":{"url":"http://192.168.1.7:8002/nestedElements.html"},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
1442517461868	Marionette	DEBUG	conn0 client <- {}
DEBUG:wires::marionette: Got byte 2
DEBUG:wires::marionette: Got byte :
DEBUG:wires::marionette: Leaving read_resp
DEBUG:wires::marionette: Marionette response {}
DEBUG:webdriver::server: Returning status Ok
DEBUG:webdriver::server: Returning body {}
DEBUG:hyper::server::response: writing head: Http11 Ok
DEBUG:hyper::server::response: headers [
Headers { Content-Type: application/json; charset=utf-8, Content-Length: 2, Date: Thu, 17 Sep 2015 19:17:41 GMT, }]
DEBUG:hyper::server::response: write 2 bytes
DEBUG:hyper::server: keep_alive = true for 127.0.0.1:59043
DEBUG:hyper::server::request: Request Line: Post AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447/element") Http11
DEBUG:hyper::server::request: Headers { Connection: keep-alive, POST: /session/edec10d0-7b9e-4147-b503-aa428c3f6447/element, Accept: application/json, Accept-Encoding: identity, Content-type: application/json;charset="UTF-8", User-Agent: Python http auth, Host: 127.0.0.1:59040, Content-Length: 106, }
DEBUG:webdriver::server: Got request POST AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447/element")
DEBUG:webdriver::command: Got request body {"using": "css selector", "sessionId": "edec10d0-7b9e-4147-b503-aa428c3f6447", "value": "[name=\"div1\"]"}
DEBUG:wires::marionette: Sending 137:{"name":"findElement","parameters":{"using":"css selector","value":"[name=\"div1\"]"},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
DEBUG:wires::marionette: Entering read_resp
1442517461875	Marionette	DEBUG	conn0 -> {"name":"findElement","parameters":{"using":"css selector","value":"[name=\"div1\"]"},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
1442517461877	Marionette	DEBUG	conn0 client <- {"value":{"ELEMENT":"64515f51-954e-2e4c-bb63-94e5cc7504b8"}}
DEBUG:wires::marionette: Got byte 6
DEBUG:wires::marionette: Got byte 0
DEBUG:wires::marionette: Got byte :
DEBUG:wires::marionette: Leaving read_resp
DEBUG:wires::marionette: Marionette response {"value":{"ELEMENT":"64515f51-954e-2e4c-bb63-94e5cc7504b8"}}
DEBUG:webdriver::server: Returning status Ok
DEBUG:webdriver::server: Returning body {"value":{"element-6066-11e4-a52e-4f735466cecf":"64515f51-954e-2e4c-bb63-94e5cc7504b8"}}
DEBUG:hyper::server::response: writing head: Http11 Ok
DEBUG:hyper::server::response: headers [
Headers { Content-Length: 88, Date: Thu, 17 Sep 2015 19:17:41 GMT, Content-Type: application/json; charset=utf-8, }]
DEBUG:hyper::server::response: write 88 bytes
DEBUG:hyper::server: keep_alive = true for 127.0.0.1:59043
DEBUG:hyper::server::request: Request Line: Post AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447/element/64515f51-954e-2e4c-bb63-94e5cc7504b8/elements") Http11
DEBUG:hyper::server::request: Headers { Connection: keep-alive, Accept: application/json, User-Agent: Python http auth, Content-type: application/json;charset="UTF-8", Accept-Encoding: identity, Content-Length: 145, Host: 127.0.0.1:59040, POST: /session/edec10d0-7b9e-4147-b503-aa428c3f6447/element/64515f51-954e-2e4c-bb63-94e5cc7504b8/elements, }
DEBUG:webdriver::server: Got request POST AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447/element/64515f51-954e-2e4c-bb63-94e5cc7504b8/elements")
DEBUG:webdriver::command: Got request body {"using": "link text", "sessionId": "edec10d0-7b9e-4147-b503-aa428c3f6447", "id": "64515f51-954e-2e4c-bb63-94e5cc7504b8", "value": "hello world"}
DEBUG:wires::marionette: Sending 180:{"name":"findElements","parameters":{"element":"64515f51-954e-2e4c-bb63-94e5cc7504b8","using":"link text","value":"hello world"},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
DEBUG:wires::marionette: Entering read_resp
1442517461879	Marionette	DEBUG	conn0 -> {"name":"findElements","parameters":{"element":"64515f51-954e-2e4c-bb63-94e5cc7504b8","using":"link text","value":"hello world"},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
1442517461882	Marionette	DEBUG	conn0 client <- [{"ELEMENT":"a5a1d329-03c2-0148-bd85-493d4c2c0309"},{"ELEMENT":"5f58e60e-00df-f148-9e5c-61bf20956333"},{"ELEMENT":"f8119a53-bd8a-3445-89c4-8942c1f19747"},{"ELEMENT":"206ce838-ea66-1046-9eff-a1ca6c308bce"},{"ELEMENT":"b9f342ce-2097-b04e-b5bb-9fd7b0b454c3"},{"ELEMENT":"76131adb-5d42-0147-88b6-5911797c221b"},{"ELEMENT":"50c7f2cd-5c5b-924e-808d-8287f492caec"},{"ELEMENT":"cb6cabf2-2d6f-7a43-8ede-4de47f9a0966"},{"ELEMENT":"aa25fb45-c2ca-4340-b5d7-bfeb28a2bd88"},{"ELEMENT":"26f9a66f-d19d-5541-84e6-ce1aaf6c85be"},{"ELEMENT":"0dedef2d-6682-164c-bc09-4a82f2090306"},{"ELEMENT":"22d62957-00cb-e74d-bad1-76b1d0d68c59"}]
DEBUG:wires::marionette: Got byte 6
DEBUG:wires::marionette: Got byte 1
DEBUG:wires::marionette: Got byte 3
DEBUG:wires::marionette: Got byte :
DEBUG:wires::marionette: Leaving read_resp
DEBUG:wires::marionette: Marionette response [{"ELEMENT":"a5a1d329-03c2-0148-bd85-493d4c2c0309"},{"ELEMENT":"5f58e60e-00df-f148-9e5c-61bf20956333"},{"ELEMENT":"f8119a53-bd8a-3445-89c4-8942c1f19747"},{"ELEMENT":"206ce838-ea66-1046-9eff-a1ca6c308bce"},{"ELEMENT":"b9f342ce-2097-b04e-b5bb-9fd7b0b454c3"},{"ELEMENT":"76131adb-5d42-0147-88b6-5911797c221b"},{"ELEMENT":"50c7f2cd-5c5b-924e-808d-8287f492caec"},{"ELEMENT":"cb6cabf2-2d6f-7a43-8ede-4de47f9a0966"},{"ELEMENT":"aa25fb45-c2ca-4340-b5d7-bfeb28a2bd88"},{"ELEMENT":"26f9a66f-d19d-5541-84e6-ce1aaf6c85be"},{"ELEMENT":"0dedef2d-6682-164c-bc09-4a82f2090306"},{"ELEMENT":"22d62957-00cb-e74d-bad1-76b1d0d68c59"}]
DEBUG:webdriver::server: Returning status Ok
DEBUG:webdriver::server: Returning body {"value":[{"element-6066-11e4-a52e-4f735466cecf":"a5a1d329-03c2-0148-bd85-493d4c2c0309"},{"element-6066-11e4-a52e-4f735466cecf":"5f58e60e-00df-f148-9e5c-61bf20956333"},{"element-6066-11e4-a52e-4f735466cecf":"f8119a53-bd8a-3445-89c4-8942c1f19747"},{"element-6066-11e4-a52e-4f735466cecf":"206ce838-ea66-1046-9eff-a1ca6c308bce"},{"element-6066-11e4-a52e-4f735466cecf":"b9f342ce-2097-b04e-b5bb-9fd7b0b454c3"},{"element-6066-11e4-a52e-4f735466cecf":"76131adb-5d42-0147-88b6-5911797c221b"},{"element-6066-11e4-a52e-4f735466cecf":"50c7f2cd-5c5b-924e-808d-8287f492caec"},{"element-6066-11e4-a52e-4f735466cecf":"cb6cabf2-2d6f-7a43-8ede-4de47f9a0966"},{"element-6066-11e4-a52e-4f735466cecf":"aa25fb45-c2ca-4340-b5d7-bfeb28a2bd88"},{"element-6066-11e4-a52e-4f735466cecf":"26f9a66f-d19d-5541-84e6-ce1aaf6c85be"},{"element-6066-11e4-a52e-4f735466cecf":"0dedef2d-6682-164c-bc09-4a82f2090306"},{"element-6066-11e4-a52e-4f735466cecf":"22d62957-00cb-e74d-bad1-76b1d0d68c59"}]}
DEBUG:hyper::server::response: writing head: Http11 Ok
DEBUG:hyper::server::response: headers [
Headers { Content-Type: application/json; charset=utf-8, Content-Length: 959, Date: Thu, 17 Sep 2015 19:17:41 GMT, }]
DEBUG:hyper::server::response: write 959 bytes
DEBUG:hyper::server: keep_alive = true for 127.0.0.1:59043
DEBUG:hyper::server::request: Request Line: Delete AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447") Http11
DEBUG:hyper::server::request: Headers { Content-type: application/json;charset="UTF-8", Accept: application/json, User-Agent: Python http auth, Connection: keep-alive, Host: 127.0.0.1:59040, Accept-Encoding: identity, DELETE: /session/edec10d0-7b9e-4147-b503-aa428c3f6447, }
DEBUG:webdriver::server: Got request DELETE AbsolutePath("/session/edec10d0-7b9e-4147-b503-aa428c3f6447")
DEBUG:wires::marionette: Sending 91:{"name":"deleteSession","parameters":{},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
DEBUG:wires::marionette: Entering read_resp
1442517461912	Marionette	DEBUG	conn0 -> {"name":"deleteSession","parameters":{},"sessionId":"edec10d0-7b9e-4147-b503-aa428c3f6447"}
1442517461921	Marionette	DEBUG	conn0 client <- {}
DEBUG:wires::marionette: Got byte 2
DEBUG:wires::marionette: Got byte :
DEBUG:wires::marionette: Leaving read_resp
DEBUG:wires::marionette: Marionette response {}
DEBUG:webdriver::server: Deleting session
DEBUG:wires::marionette: delete_session
DEBUG:wires::marionette: Closing browser
ERROR:wires::marionette: Failed to kill browser
1442517461939	Marionette	INFO	Closed connection conn0
DEBUG:webdriver::server: Returning status Ok
DEBUG:webdriver::server: Returning body {}
DEBUG:hyper::server::response: writing head: Http11 Ok
DEBUG:hyper::server::response: headers [
Headers { Content-Type: application/json; charset=utf-8, Date: Thu, 17 Sep 2015 19:17:41 GMT, Content-Length: 2, }]
DEBUG:hyper::server::response: write 2 bytes
DEBUG:hyper::server: keep_alive = true for 127.0.0.1:59043
DEBUG:hyper::server: keep_alive loop ending for 127.0.0.1:59043
SafeBrowsing: 20:17:43 GMT+0100 (BST): getLists: urlclassifier.phishTable
SafeBrowsing: 20:17:43 GMT+0100 (BST): getLists: urlclassifier.malwareTable
SafeBrowsing: 20:17:43 GMT+0100 (BST): getLists: urlclassifier.downloadBlockTable
SafeBrowsing: 20:17:43 GMT+0100 (BST): getLists: urlclassifier.downloadAllowTable
SafeBrowsing: 20:17:43 GMT+0100 (BST): getLists: urlclassifier.trackingTable
SafeBrowsing: 20:17:43 GMT+0100 (BST): getLists: urlclassifier.trackingWhitelistTable
console.error:
  Could not write session state file
  Message: Unix error 2 during operation makeDir on file /var/folders/7n/2f615rtj42l0ppz5jg_nch0c0000gp/T/rust_mozprofile.Vq4Z1wneidWH/sessionstore-backups (No such file or directory)
(Assignee)

Updated

3 years ago
Assignee: nobody → dburns
(Assignee)

Comment 5

3 years ago
I have reproduced this without wires
Yup, it's a bug in locating by link text.
(Assignee)

Comment 7

3 years ago
Created attachment 8662632 [details]
MozReview Request: Bug 1204496: When searching by link text start from the startNode and not the rootNode; r?ato

Bug 1204496: When searching by link text start from the startNode and not the rootNode; r?ato
Attachment #8662632 - Flags: review?(ato)
Comment on attachment 8662632 [details]
MozReview Request: Bug 1204496: When searching by link text start from the startNode and not the rootNode; r?ato

https://reviewboard.mozilla.org/r/19649/#review17611
Attachment #8662632 - Flags: review?(ato) → review+
(Assignee)

Comment 9

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/85b3e7100079de30cf23737c9ed2a1be6da13b12
Bug 1204496: When searching by link text start from the startNode and not the rootNode; r=ato
(Assignee)

Updated

3 years ago
Keywords: ateam-marionette-server
https://hg.mozilla.org/mozilla-central/rev/85b3e7100079
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
status-firefox43: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.