java - How to choose cssSelector value in Chrome browser using chrome Developer Tool(F12)? -
java - How to choose cssSelector value in Chrome browser using chrome Developer Tool(F12)? -
how take cssselector() chrome browser using chrome developer tools?
can show illustration below code?
webelement searchbox = driver.findelement(by.cssselector("selector")); searchbox.click();
how chose value selector field chrome developer tool?-f12 in chrome. please explain illustration
thanks
if referring selenium tags imply, guess you're trying utilize
driver.findelements(by.classname(".."));
or similar, need familiar css selectors.
for illustration if inspect stackoverflow logo see:
<div id="hlogo"> <a href="/"> stack overflow </a> </div>
so in case use:
driver.findelements(by.id("hlogo"));
or can utilize cssselector doing:
driver.findelements(by.cssselector("#hlogo"));
java javascript selenium-webdriver css-selectors selenium-chromedriver
Comments
Post a Comment