FAQ
Hi,

I am trying to find out the google auto suggest text element using below
paths but everytime I am getting the err "InvalidSelectorError: An invalid
or illegal selector was specified". I know something wrong with this xpath
but don't know what. Can anybody response?

d.findElements(By.xpath("//div[starts-with[@id, 'sbse']/div[2]"));
or
list = d.findElements(By.xpath("//ul[@class='sbsb_b'] AND [@role =
'listbox']/li/div/div[2]"));

Thanks!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8536f89c-4531-4a6d-8200-de23a038af0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedApr 6, '15 at 1:50p
activeApr 6, '15 at 1:50p
posts1
users1
websiteseleniumhq.org

1 user in discussion

Khairaj pamnani: 1 post

People

Translate

site design / logo © 2022 Grokbase