((JavascriptExecutor)driver).executeScript("return window.getSelection().toString();");
Try to check the xpath with style if it returns true or false
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/hHfkEH0lZiI/unsubscribe.
To unsubscribe from this group and all its topics, 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/14d8c207-4791-434b-a4b1-74fa2c726bc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
//div[@class='foo'][@style='']
Thanks for replying can you please elaborate it I didn't get it... Thanks
On Sat, May 5, 2018 at 11:37 AM, Mahmoud Abuzaid <eng.ma...@gmail.com> wrote:
Try to check the xpath with style if it returns true or false
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/hHfkEH0lZiI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.