html =
<div class="this class">

(note the space between this and class). When I atttempt to locate using

a = driver.find_element_by_xpath('//div[@class="this class"]')

I cannot locate. I would rather not use a contains() here. Is there a way
to locate this properly? This is not html text so using &nbsp; does not
apply.

Thanks,
Dave

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/_xXW8LBP5swJ.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupselenium-users @
categoriesselenium
postedDec 4, '12 at 7:47p
activeDec 5, '12 at 6:17a
posts3
users3
websiteseleniumhq.org

People

Translate

site design / logo © 2022 Grokbase