Today I tried to clean up some code. The following warning was interesting.
bool result = ((("-promo-text"))).Displayed;
Warning CS0618 '' is obsolete: 'The implementation in the .NET bindings is deprecated and will be removed in a future release. This portion of the code has been migrated to the repository on GitHub (https://github.com/DotNetSeleniumTools/DotNetSeleniumExtras)'
After looking into this issue, it was easy to update the code.
In Visual Studio, right click Project file and click Manage NuGet Packages.
Search . Install it.
Import the namespace: using = ;
Update the method.
bool result = wait.Until((("-promo-text"))).Displayed;
Built solution in Visual Studio and the warning .