Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97813

How to find a dynamic elements using selenium webdriver?

$
0
0
<div id="button" data-testid="widgetButton" class=" chat-closed mobile-size__large">

I have elements with a special character which the Webdriver can't locate.

I'm trying to click on an item, I've tried everything. my last try:

wd.get(urlSubpage);
        wd.findElement(By.cssSelector("[class='widgetLabel']"));

Viewing all articles
Browse latest Browse all 97813

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>