Hi Sapana,
1.No need to use implicit wait multiple times,declare it only once in a script.
It automatically use that delay after each driver statement.
2. For error there may be two possibilities
A.After clicking compose mail button the focus get changed to compose box so clicking on that image won't be possible.
B.xpath or css you selected might be wrong.
--at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:10667)at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:623)
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/CAL4jT3uP-JKDTGg4e6oa%3DpTzhhE_RaWnn0AwcESQ_PAYVV7Xag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:10667)at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:623)
at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:10667)at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:623)
--
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/571e815f-3599-4552-9f08-5b2a28fa4a1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
//div[@class='gb_1 gb_3a gb_nc gb_e']/div/a
at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:10667)at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous8412394525810302914webdriver-profile/extensions/fxdri...@googlecode.com/components/driver-component.js:623)