The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
3answers
4k views

A way to match on text using CSS locators

So I use xpath locators and slowly converting to CSS. I haven't found a way to do an exact match based on text. For example converting //a[text()='Log Out']. I know you can do css=a:contains('Log ...
2
votes
1answer
93 views

How do I test that external CSS does not contain an absolute URL via unit test?

I have been given the task of validating that we do not have any http:// URLs in our CSS or HTML documents. I've created a selenium IDE test that looks at src & href attributes as well as script ...
2
votes
2answers
3k views

Selenium - Find exact text match using CSS locators

According to A way to match on text using CSS locators, we should be able to use "^$" to find exact text match using CSS locators. But with div class="item"><div ...
6
votes
5answers
336 views

Is there any reliable way to test CSS of a site?

is that a feasible idea? what tools do you use? what do you call this kind of testing?