Open ThomasLandauer opened 5 months ago
These both result in an MalformedLocatorException:
MalformedLocatorException
$I->seeElement(['id' =>'123']); $I->seeElement(['css' =>'div#123']);
The reason is probably that up to HTML 4, ids were required to start with a character (a-z). However, in HTML 5, ids can begin with virtually anything: https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute
id
These both result in an
MalformedLocatorException
:The reason is probably that up to HTML 4,
id
s were required to start with a character (a-z). However, in HTML 5,id
s can begin with virtually anything: https://html.spec.whatwg.org/multipage/dom.html#the-id-attribute