driver.FindElement(By.XPath("//ol[@id='b_results']/li/h2/a/strong[3]")).Click();
This line returns error.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
It seems the bing website changed since this article is posted. The correct xpath is //*[@id='b_results']/li[2]/div[1]/h2/a
The correct xpath seems to now be //*[@id='b_results']/li[1]/div[1]/h2/a
The xpath changes as soon as the 'azure pipelines' site moves up or down the bing search results. Maybe it is not a good idea to use a search engines search results page as an example here.
Then I suggest using this instead: By.LinkText("Azure Pipelines | Microsoft Azure")
This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.