Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Selenium C# – Find Element by LinkText – Selenium's Tutorial

Selenium C# – Find Element by LinkText

The below code can be used to detect any element on a WebPage by LinkText  using Selenium in C#

  • LinkText indicates any text that is between “<A>” and “</A”> tag

If there is a custom wait function as  here, then you can use the above  code also!

You may also like...