java - Does find element in selenium checkes if the tag is closed proeprly? -


i using selenium method find element check if tag exists or not. ex-

driver.findelements(by.xpath("//meta[@name='keywords']"); 

i not sure if tag not opened or closed selenium still find element on web page?

if goal validate html of page, can use w3c markup validation service. soap-based service. add reference project , build request sample in documentation- https://validator.w3.org/docs/api.html if want manually check it, paste desired url here: https://validator.w3.org/


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -