The HTML5 element <summary> is missing from the list of clickable elements at WebDriver::_findClickable()
I tried to add it there just like the others: ".//summary[normalize-space(.)=$locator]", - but this doesn't really fix it, since there are many elements allowed inside <summary>: https://html.spec.whatwg.org/#the-summary-element
I think this needs to be refactored, since (from looking at the code) elements inside <a> are also not matched, e.g. <a href="..."><div>...</div></a> - which is valid HTML 5: https://html.spec.whatwg.org/#the-a-element
So I guess the arguments that are thrown into Locator::combine() need to be replaced by functions to allow more complex matching logic.
The HTML5 element
<summary>is missing from the list of clickable elements atWebDriver::_findClickable()I tried to add it there just like the others:
".//summary[normalize-space(.)=$locator]",- but this doesn't really fix it, since there are many elements allowed inside<summary>: https://html.spec.whatwg.org/#the-summary-elementI think this needs to be refactored, since (from looking at the code) elements inside
<a>are also not matched, e.g.<a href="..."><div>...</div></a>- which is valid HTML 5: https://html.spec.whatwg.org/#the-a-elementSo I guess the arguments that are thrown into
Locator::combine()need to be replaced by functions to allow more complex matching logic.