Web Automation: link and partial link queries don't work if text link contains traili...
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jul 2017 06:28:58 +0000 (06:28 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jul 2017 06:28:58 +0000 (06:28 +0000)
commit66b0a06b48e61f9d0b870e14e3047224ae63a672
tree5dd1600db8959455da1487a77c930eff51b99ff5
parentfc367292979dde0442ea7b641baef6c7ee601558
Web Automation: link and partial link queries don't work if text link contains trailing or leading whitespaces
https://bugs.webkit.org/show_bug.cgi?id=174499

Reviewed by Brian Burg.

This is causing test test_Driver_Can_Get_Link_By_Link_Test_Ignoring_Trailing_Whitespace to fail.

* UIProcess/Automation/atoms/FindNodes.js:
(switch): Use normalize-space() in in the links xpath expressions.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@219604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/Automation/atoms/FindNodes.js