Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents.

learn more… | top users | synonyms

0
votes
3answers
450 views

Selenium Webdriver - finding element on IE 11

I'm trying to assert a 'name' on my page, to assure the right name is displayed: public static OpenQA.Selenium.By Name = (By.CssSelector("p")); Assert.AreEqual("Name", ...
1
vote
2answers
83 views

CSS locator for body text between span tags in selenium

How do I build a CSS locator for the "Add Photos/Video" text between the span tags. I need to perform a click event on this element.
0
votes
1answer
56 views

How to locate Facebook POST button using Java selenium web driver?

Code: driver.findelement(By.xpath(".//*[@id='js_2y']/div[4]/div[2]/div/div[2]/div/button")).click(); Every time I try by locating xpath, it's gives an exception, could not locate element. May 04, ...