[Webkit-unassigned] [Bug 180414] New: WebDriver: test imported/w3c/webdriver/tests/state/get_element_property.py::test_element fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 5 03:21:41 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180414

            Bug ID: 180414
           Summary: WebDriver: test
                    imported/w3c/webdriver/tests/state/get_element_propert
                    y.py::test_element fails
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bburg at apple.com

session = <webdriver.client.Session object at 0x7fa64e82e750>

    def test_element(session):
        # 13.3 step 5-7
        session.url = inline("<input type=checkbox>")
        element = session.find.css("input", all=False)
        element.click()
>       assert None == session.execute_script("return arguments[0].hasAttribute('checked')",
                                              args=[element])
E       assert None == False
E        +  where False = <bound method Session.execute_script of <webdriver.client.Session object at 0x7fa64e82e750>>("return arguments[0].hasAttribute('checked')", args=[<webdriver.client.Element object at 0x7fa64e85d8d0>])
E        +    where <bound method Session.execute_script of <webdriver.client.Session object at 0x7fa64e82e750>> = <webdriver.client.Session object at 0x7fa64e82e750>.execute_script

element    = <webdriver.client.Element object at 0x7fa64e85d8d0>
session    = <webdriver.client.Session object at 0x7fa64e82e750>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171205/2c0dc33f/attachment-0001.html>


More information about the webkit-unassigned mailing list