$('*').removeAttr('id')
--
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-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3481da63-c851-483a-b7fb-eae84aecac7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
--
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/1de20c08-4ac3-4953-a9b0-faf70e92a447%40googlegroups.com.
driver.findelement(By.xpath(".//*(text()='Companies')")On Fri, Apr 27, 2018, 4:59 AM Mohanraj K <mohanraj....@chainsys.com> wrote:Hey bro ur class called on many places means it wont works.Just use thisdiver.findelement(By.xpath(".//*(text()='Companies'))
--
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-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/16ee5b56-419c-49e5-a539-4bca021b5584%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
XPath is defined as XML path. It is a syntax or language for finding any element on the web page using XML path expression. XPath is used to find the location of any element on a webpage using HTML DOM structure. The basic format of XPath is explained below with screen shot.
Syntax for XPath: